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-06 13:32:49 +0000
commita219ca8c20916b6875196d0d787d219659e129c2 (patch)
tree4b88dcfaa3277a825bc65d426f734a35beeff692 /share/bash-completion
parentRemoving support for Debian 9 (jessie) in debconf container create script. (diff)
downloadcompute-tools-a219ca8c20916b6875196d0d787d219659e129c2.tar.xz
compute-tools-a219ca8c20916b6875196d0d787d219659e129c2.zip
Adding shortcuts for container commands to bash-completion as well.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to '')
-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"