Move zsh completion logic to new subcommand: wait
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
This commit is contained in:
parent
b25603391c
commit
6a662de965
1 changed files with 4 additions and 4 deletions
|
@ -847,7 +847,9 @@ __docker_container_subcommand() {
|
||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
(wait)
|
(wait)
|
||||||
__docker_subcommand && ret=0
|
_arguments $(__docker_arguments) \
|
||||||
|
$opts_help \
|
||||||
|
"($help -)*:containers:__docker_complete_running_containers" && ret=0
|
||||||
;;
|
;;
|
||||||
(help)
|
(help)
|
||||||
_arguments $(__docker_arguments) ":subcommand:__docker_container_commands" && ret=0
|
_arguments $(__docker_arguments) ":subcommand:__docker_container_commands" && ret=0
|
||||||
|
@ -2257,9 +2259,7 @@ __docker_subcommand() {
|
||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
(wait)
|
(wait)
|
||||||
_arguments $(__docker_arguments) \
|
__docker_container_subcommand && ret=0
|
||||||
$opts_help \
|
|
||||||
"($help -)*:containers:__docker_complete_running_containers" && ret=0
|
|
||||||
;;
|
;;
|
||||||
(help)
|
(help)
|
||||||
_arguments $(__docker_arguments) ":subcommand:__docker_commands" && ret=0
|
_arguments $(__docker_arguments) ":subcommand:__docker_commands" && ret=0
|
||||||
|
|
Loading…
Reference in a new issue