From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22932 invoked by alias); 22 Sep 2013 10:49:14 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 31744 Received: (qmail 11679 invoked from network); 22 Sep 2013 10:48:48 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW, T_TO_NO_BRKTS_FREEMAIL autolearn=ham version=3.3.2 Received-SPF: pass (ns1.primenet.com.au: SPF record at _netblocks.google.com designates 209.85.217.179 as permitted sender) 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== X-Received: by 10.152.27.133 with SMTP id t5mr151397lag.33.1379846922629; Sun, 22 Sep 2013 03:48:42 -0700 (PDT) From: =?UTF-8?q?=C3=98ystein=20Walle?= To: zsh-workers@zsh.org Cc: m0viefreak Subject: [PATCH v2 03/14] _git: make git submodule completion work Date: Sun, 22 Sep 2013 12:48:17 +0200 Message-Id: <18f518928d6dcf29dfec45b8be6cb501e4ff5625.1379846744.git.oystwa@gmail.com> X-Mailer: git-send-email 1.8.2.2 In-Reply-To: References: In-Reply-To: References: From: m0viefreak 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