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
parent 8f9c7fab24
commit bd1fc1e5c2

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: