summaryrefslogtreecommitdiffstats
path: root/share/bash-completion
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2016-11-06 13:32:49 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2016-11-12 07:47:18 +0000
commitbe0087dd740a849c793d5053675e3984496cdaf4 (patch)
tree4b88dcfaa3277a825bc65d426f734a35beeff692 /share/bash-completion
parentRemoving support for Debian 8 (jessie) in debconf container create script. (diff)
downloadcompute-tools-be0087dd740a849c793d5053675e3984496cdaf4.tar.xz
compute-tools-be0087dd740a849c793d5053675e3984496cdaf4.zip
Adding shortcuts for container commands to bash-completion as well.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to 'share/bash-completion')
-rw-r--r--share/bash-completion/container4
1 files changed, 2 insertions, 2 deletions
diff --git a/share/bash-completion/container b/share/bash-completion/container
index f6434f8..4bff91c 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"