Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[PATCH 03/16] _git: make git submodule <cmd> completion work
- X-seq: zsh-workers 31597
- From: Øystein Walle <oystwa@xxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: [PATCH 03/16] _git: make git submodule <cmd> completion work
- Date: Sun, 28 Jul 2013 18:22:00 +0200
- Cc: m0viefreak.cm@xxxxxxxxxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :in-reply-to:references; bh=7e1Cvii21U9M+kbkB9xoS+8FYMJbzWHy/Kz8+/2b+tU=; b=r5wsEQ8iluqFVaXwjCfrnqgmnnPdOu05Y9JhBENBJ553J8g6F8+1NJ+YF7loATsiRb kslBocDYIkDykpIcDJjqAj+eLfxkAsP54W7ZmO8+BrxZ6zZj0nlVnMkmHU6ZPubMw+Yp VGPTtCdlKXtxQosBNBTmisSZGSitFrgcfR6bzTylIQ0wqxyTygolMTOnr/CRmMq6U9Fw xE6O2Wwq1tK7WHRYF70jK6cgrQ1s5dpkXJ4zhntNHpSaenIpqsyfVJtSEX8gqZc8qvEJ rTKnVst/exAPrjgU9gi3pWY+AhQn6zpaBUUnKnCOZ/Cbapkwn7NWgM+d7VrG9LaBSiui 68Ww==
- In-reply-to: <cover.1375006129.git.oystwa@gmail.com>
- In-reply-to: <cover.1375006129.git.oystwa@gmail.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <cover.1375006129.git.oystwa@gmail.com>
- References: <cover.1375006129.git.oystwa@gmail.com>
From: m0viefreak <m0viefreak.cm@xxxxxxxxxxxxxx>
The -A parameter in the main completion stopped completion
in the subcommands from working. Remove it.
---
Completion/Unix/Command/_git | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git
index c921d8f..3eff9f8 100644
--- a/Completion/Unix/Command/_git
+++ b/Completion/Unix/Command/_git
@@ -1483,7 +1483,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
--
1.8.2.2
Messages sorted by:
Reverse Date,
Date,
Thread,
Author