about summary refs log tree commit diff
path: root/Completion/Unix/Command/_git
diff options
context:
space:
mode:
authorm0viefreak <m0viefreak.cm@googlemail.com>2013-09-22 12:48:17 +0200
committerFrank Terbeck <ft@bewatermyfriend.org>2013-09-22 14:01:08 +0200
commitef4157fac4657337d491ca1d3ea92f195bf191d8 (patch)
tree12fd94a62539aa2a5982c9a24ab372c24c2af4dd /Completion/Unix/Command/_git
parent2813d8aa9889b609b92449124fd2444afc6c912e (diff)
downloadzsh-ef4157fac4657337d491ca1d3ea92f195bf191d8.tar.gz
zsh-ef4157fac4657337d491ca1d3ea92f195bf191d8.tar.xz
zsh-ef4157fac4657337d491ca1d3ea92f195bf191d8.zip
31744: _git: make git submodule <cmd> completion work
The -A parameter in the main completion stopped completion
in the subcommands from working. Remove it.
Diffstat (limited to 'Completion/Unix/Command/_git')
-rw-r--r--Completion/Unix/Command/_git2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git
index faa8df889..0f4ead334 100644
--- a/Completion/Unix/Command/_git
+++ b/Completion/Unix/Command/_git
@@ -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