From 7b67240dc4dc8766a5b9306fb992585df719745f Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 21 Oct 2017 07:48:34 +0200 Subject: Adding con shortcut for container console command. Signed-off-by: Daniel Baumann --- Makefile | 1 + share/bash-completion/container | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index ab17e80..030a9fb 100644 --- a/Makefile +++ b/Makefile @@ -106,6 +106,7 @@ install: build ln -sf debconf.d ${DESTDIR}/usr/share/$(SOFTWARE)/scripts/progress-linux.d ln -sf container-create-debconf.1 $(DESTDIR)/usr/share/man/man1/container-create-progress-linux.1 + ln -sf console $(DESTDIR)/usr/lib/$(SOFTWARE)/container/con ln -sf list $(DESTDIR)/usr/lib/$(SOFTWARE)/container/ls ln -sf move $(DESTDIR)/usr/lib/$(SOFTWARE)/container/mv ln -sf remove $(DESTDIR)/usr/lib/$(SOFTWARE)/container/rm diff --git a/share/bash-completion/container b/share/bash-completion/container index ffa042d..8ef38cf 100644 --- a/share/bash-completion/container +++ b/share/bash-completion/container @@ -43,7 +43,7 @@ _container() return 0 ;; - console) + console|con) case "${prev}" in -n|--name) opts=$(container list -s -f shell) -- cgit v1.2.3