From d06d7b1b2e7ea48c42497ea6381a7d58ed4121e0 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 12 Nov 2016 08:51:17 +0100 Subject: Adding upstream version 20161112. Signed-off-by: Daniel Baumann --- share/bash-completion/container | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'share/bash-completion/container') diff --git a/share/bash-completion/container b/share/bash-completion/container index f6434f8..e49311a 100644 --- a/share/bash-completion/container +++ b/share/bash-completion/container @@ -122,7 +122,7 @@ _container() esac ;; - list) + list|ls) case "${cur}" in -*) opts="-a --all -f --format -h --host -o --other -s --started -t --stopped" @@ -148,7 +148,7 @@ _container() esac ;; - remove) + remove|rm) case "${cur}" in -*) opts="-n --name -f --force" @@ -249,7 +249,7 @@ _container() ;; *) - local commands=$(cd /usr/lib/container-tools/container 2>/dev/null && ls) + local commands=$(cd /usr/lib/container-tools/container 2>/dev/null && find * -type f -print) COMPREPLY=( $(compgen -W "${commands}" -- ${cur}) ) return 0 ;; -- cgit v1.2.3