Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Git commands or aliases first?
- X-seq: zsh-workers 29584
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: Nikolai Weibull <now@xxxxxxxx>
- Subject: Re: Git commands or aliases first?
- Date: Fri, 22 Jul 2011 13:58:20 +0200
- Cc: Zsh Workers <zsh-workers@xxxxxxx>
- 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=
- In-reply-to: <CADdV=MuyRfW57ZizZxw3aw_Q0sRf2YRE1qHOewrSQMtZKoZLWQ@mail.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: <CADdV=MuyRfW57ZizZxw3aw_Q0sRf2YRE1qHOewrSQMtZKoZLWQ@mail.gmail.com>
On 22 July 2011 13:40, Nikolai Weibull <now@xxxxxxxx> 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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author