mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-01-19 11:31:26 +01: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:
|
||||
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>
|
||||
|
||||
* unposted: Src/glob.c: improve an error message.
|
||||
|
|
|
@ -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…
Reference in a new issue