From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27018 invoked by alias); 22 Jul 2011 11:58:57 -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: 29584 Received: (qmail 27142 invoked from network); 22 Jul 2011 11:58:25 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) 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 autolearn=unavailable version=3.3.1 Received-SPF: pass (ns1.primenet.com.au: SPF record at _spf.google.com designates 209.85.220.171 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=KQQ9X2rdQPGEgTSRh2CCdnxho5p93TcsX0lzDGeTg/4=; b=upkNxU6gwC2RUVsjai7pARHQ08g+OdaYi1xrH047DH3c/0//ZF8dca+tTZ9PNyka1P 6HzfsWCB/nZWalW6SK+CuvNjJp13ytByOyk2EvXO+H4IJ8g1isiUJNBKB9ntEnVh5Rv+ tt0wZMkgRtwUDBtX7cTPW97X9bIg4nSymW0Jg= MIME-Version: 1.0 In-Reply-To: References: Date: Fri, 22 Jul 2011 13:58:20 +0200 Message-ID: Subject: Re: Git commands or aliases first? From: Mikael Magnusson To: Nikolai Weibull Cc: Zsh Workers Content-Type: text/plain; charset=UTF-8 On 22 July 2011 13:40, Nikolai Weibull wrote: > Hi! > > What is the desired tag order for Git commands and aliases? > > My conclusion is that the current behavior is incorrect. My reasoning > is that git will prefer invoking a command over an alias with the same > name. > > Does anyone have a contradictory opinion, or should I merge this change? We could show aliases first, but leave out ones that are also commands? On the one hand, I would want to complete my aliases before the commands, on the other hand I usually make alias names short enough to not need completing. On the third hand it's configurable with group-order anyway, so either is fine with me :). Ie zstyle ':completion:*:git:*' group-order main-porcelain-commands -- Mikael Magnusson