summaryrefslogtreecommitdiffstats
path: root/share/bash-completion/container
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--share/bash-completion/container20
1 files changed, 20 insertions, 0 deletions
diff --git a/share/bash-completion/container b/share/bash-completion/container
index 99d342b..fd916d1 100644
--- a/share/bash-completion/container
+++ b/share/bash-completion/container
@@ -158,6 +158,26 @@ _container()
esac
;;
+ move|mv)
+ case "${cur}" in
+ -*)
+ opts="-f --force -n --new -o --old"
+ COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
+ return 0
+ ;;
+
+ *)
+ case "${prev}" in
+ -o|--old)
+ opts=$(container list -t -f shell)
+ COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
+ return 0
+ ;;
+ esac
+ ;;
+ esac
+ ;;
+
remove|rm)
case "${cur}" in
-*)