1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-25 05:10:28 +02:00

31744: _git: make git submodule <cmd> completion work

The -A parameter in the main completion stopped completion
in the subcommands from working. Remove it.
This commit is contained in:
m0viefreak 2013-09-22 12:48:17 +02:00 committed by Frank Terbeck
parent 2813d8aa98
commit ef4157fac4
2 changed files with 4 additions and 1 deletions

View file

@ -1491,7 +1491,7 @@ _git-submodule () {
local curcontext=$curcontext state line ret=1
declare -A opt_args
_arguments -C -A '-*' \
_arguments -C \
'(-q --quiet)'{-q,--quiet}'[suppress all output]' \
': :->command' \
'*:: :->option-or-argument' && ret=0