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:
parent
2813d8aa98
commit
ef4157fac4
2 changed files with 4 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue