fix #23017, add zsh completion for dockerd

Signed-off-by: Ke Xu <leonhartx.k@gmail.com>
This commit is contained in:
Ke Xu 2016-06-17 16:16:13 +09:00 committed by Tibor Vass
parent 6cc83d80e0
commit 903d9013a3
1 changed files with 8 additions and 1 deletions

View File

@ -1,4 +1,4 @@
#compdef docker
#compdef docker dockerd
#
# zsh completion for docker (http://docker.com)
#
@ -1410,6 +1410,13 @@ _docker() {
return ret
}
_dockerd() {
integer ret=1
words[1]='daemon'
__docker_subcommand && ret=0
return ret
}
_docker "$@"
# Local Variables: