mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-18 03:11:15 +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
|
@ -6,6 +6,9 @@
|
||||||
* 31743: Completion/Unix/Command/_git: _git: fix usage of ->int:
|
* 31743: Completion/Unix/Command/_git: _git: fix usage of ->int:
|
||||||
for some entries in _git-config
|
for some entries in _git-config
|
||||||
|
|
||||||
|
* 31744: Completion/Unix/Command/_git: _git: make git submodule
|
||||||
|
<cmd> completion work
|
||||||
|
|
||||||
2013-09-21 Barton E. Schaefer <schaefer@zsh.org>
|
2013-09-21 Barton E. Schaefer <schaefer@zsh.org>
|
||||||
|
|
||||||
* unposted: Src/glob.c: improve an error message.
|
* unposted: Src/glob.c: improve an error message.
|
||||||
|
|
|
@ -1491,7 +1491,7 @@ _git-submodule () {
|
||||||
local curcontext=$curcontext state line ret=1
|
local curcontext=$curcontext state line ret=1
|
||||||
declare -A opt_args
|
declare -A opt_args
|
||||||
|
|
||||||
_arguments -C -A '-*' \
|
_arguments -C \
|
||||||
'(-q --quiet)'{-q,--quiet}'[suppress all output]' \
|
'(-q --quiet)'{-q,--quiet}'[suppress all output]' \
|
||||||
': :->command' \
|
': :->command' \
|
||||||
'*:: :->option-or-argument' && ret=0
|
'*:: :->option-or-argument' && ret=0
|
||||||
|
|
Loading…
Reference in a new issue