From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3773 invoked by alias); 28 Jul 2013 16:23:07 -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: 31597 Received: (qmail 12510 invoked from network); 28 Jul 2013 16:22:49 -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.171 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: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== X-Received: by 10.112.53.10 with SMTP id x10mr24373453lbo.28.1375028563797; Sun, 28 Jul 2013 09:22:43 -0700 (PDT) From: =?UTF-8?q?=C3=98ystein=20Walle?= To: zsh-workers@zsh.org Cc: m0viefreak.cm@googlemail.com Subject: [PATCH 03/16] _git: make git submodule completion work Date: Sun, 28 Jul 2013 18:22:00 +0200 Message-Id: <19cbc4dc894c29fafccc4fae19b03bd76a6c83bd.1375006129.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 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