diff options
Diffstat (limited to 'share/bash-completion/container')
-rw-r--r-- | share/bash-completion/container | 6 |
1 files changed, 3 insertions, 3 deletions
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 ;; |