summaryrefslogtreecommitdiffstats
path: root/share/bash-completion
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2016-11-12 07:51:17 +0000
committerDaniel Baumann <mail@daniel-baumann.ch>2016-12-11 12:27:10 +0000
commitd06d7b1b2e7ea48c42497ea6381a7d58ed4121e0 (patch)
treef41ae8266df0ed99de0941d748d523d6f289c4bc /share/bash-completion
parentAdding upstream version 20161105. (diff)
downloadopen-infrastructure-compute-tools-d06d7b1b2e7ea48c42497ea6381a7d58ed4121e0.tar.xz
open-infrastructure-compute-tools-d06d7b1b2e7ea48c42497ea6381a7d58ed4121e0.zip
Adding upstream version 20161112.
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to '')
-rw-r--r--share/bash-completion/container6
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
;;