fix #23017, add zsh completion for dockerd
Signed-off-by: Ke Xu <leonhartx.k@gmail.com>
This commit is contained in:
parent
8f9c7fab24
commit
bd1fc1e5c2
1 changed files with 8 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue