Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[PATCH v2 03/14] _git: make git submodule <cmd> completion work
- X-seq: zsh-workers 31744
- From: Øystein Walle <oystwa@xxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: [PATCH v2 03/14] _git: make git submodule <cmd> completion work
- Date: Sun, 22 Sep 2013 12:48:17 +0200
- Cc: m0viefreak <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:in-reply-to:references :in-reply-to:references; bh=j/gY4BP0EQfFSfaSP7lTof/LDuU0mzUSmurNWHfUHmo=; b=Y8K8+sGtnI+UPbkbIr/qq5baVRYWHsOOrQQaHEIdynMANoYjtVSBj9P34aGwrgEuXr ABxHWN8B+onvGOpTYobDjKhs3P1d2uOl1tJ2VjV+RIPNQUvSbbqZ2hC6hHgbbiDkOjvj ipG+Di+69OsyFF8t3IV6MphTxkr0fMf+xWvzVjZG7/eFDxDPxrwF8PGar7EzSIKyIz36 RTNCACdjTj9m6SHf/QwY0OyNgLYQsEQDEaGQDSqTIKKUXrop3j9mhem4qDHDSHqrNYtw 2R5PdCSpcV9jPosblHHAIhDWfq7cbCIyk8xXjR+QIQjzetN29Nu9v038/j88U/9k49ao 21Pw==
- In-reply-to: <cover.1379846744.git.oystwa@gmail.com>
- In-reply-to: <cover.1379846744.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.1379846744.git.oystwa@gmail.com>
- References: <cover.1379846744.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 faa8df8..0f4ead3 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
--
1.8.2.2
Messages sorted by:
Reverse Date,
Date,
Thread,
Author