From 7615d7894519e1afd313b03976643eec73a779c9 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 12 Nov 2016 08:54:22 +0100 Subject: Merging 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