Skip to content

Commit

Permalink
Merge pull request #3648 from thaJeztah/20.10_backport_asterisk_in_zs…
Browse files Browse the repository at this point in the history
…h_completion
  • Loading branch information
ndeloof committed Jun 2, 2022
2 parents 826eaaf + 308624c commit 4d71893
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/completion/zsh/_docker
Expand Up @@ -2652,7 +2652,7 @@ __docker_commands() {
then
local -a lines
lines=(${(f)"$(_call_program commands docker 2>&1)"})
_docker_subcommands=(${${${(M)${lines[$((${lines[(i)*Commands:]} + 1)),-1]}:# *}## #}/ ##/:})
_docker_subcommands=(${${${(M)${lines[$((${lines[(i)*Commands:]} + 1)),-1]}:# *}## #}/\*# ##/:})
_docker_subcommands=($_docker_subcommands 'daemon:Enable daemon mode' 'help:Show help for a command')
(( $#_docker_subcommands > 2 )) && _store_cache docker_subcommands _docker_subcommands
fi
Expand Down

0 comments on commit 4d71893

Please sign in to comment.