Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH] _git: Add completion for help subcommand
- X-seq: zsh-workers 28205
- From: Nikolai Weibull <now@xxxxxxxx>
- To: "Benjamin R. Haskell" <zsh@xxxxxxxxxx>
- Subject: Re: [PATCH] _git: Add completion for help subcommand
- Date: Thu, 26 Aug 2010 09:55:39 +0200
- Cc: Aaron Schrab <aaron@xxxxxxxxxx>, zsh-workers@xxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=adIxrSZa87ZKD+qAAoflmxp2LXuxEWvlLcaOw38WpoI=; b=ZEBZ6L1sH9vGVN/1JM7B0trkii0QqEq91UM1nRKfhNT6IJHDvRDNlwkgMWO7CbtN1k BVq+J5Dm7LBMSYF0r8D9ZmbICeOPvjHOnPlui3C0wVpLp5G8EmvgOdVB+KuXBSchOMoN v1Zc3c4Z5A0/MamP53DXuCFdfM4zGKnzi5l1A=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=x85upczVK/xFRzpo0Qoqned7Yd1FX/F+53q0jVvr2VuHaxyc5zGmgQ4klt1ZzxyhgL TdIxfrxq3endfgXKwerb/dnPFZpvOwUHckh6MpSFkpKV61TU6NesmfOzs/yexc7J/lQ4 ALbWB5cvFqnPiJdUVUNTKzNFiMGrG2j/u/l/4=
- In-reply-to: <alpine.LNX.2.01.1008252311460.4535@hp>
- 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: <1282393263-16767-1-git-send-email-aaron@xxxxxxxxxx> <AANLkTimOcmpFpTrrVMsuvjCR8puCnhoRVsmduci=SP8d@xxxxxxxxxxxxxx> <alpine.LNX.2.01.1008252311460.4535@hp>
- Sender: nikolai.weibull@xxxxxxxxx
On Thu, Aug 26, 2010 at 05:29, Benjamin R. Haskell <zsh@xxxxxxxxxx> wrote:
> On Thu, 26 Aug 2010, Nikolai Weibull wrote:
>
>> On Sat, Aug 21, 2010 at 14:21, Aaron Schrab wrote:
>>
>> Seems fine except for this:
>>
>> > + Âlocal formats='(--info -i --man -m --web -w)'
>>
>> Although this is sort of nice it doesnât follow the style of this or
>> other completion files, so please write out the whole list in each
>> line.
> It's just visual clutter. ÂIs there a particular reason not to use a
> variable?
Perhaps. The common pattern I saw when I began writing completion functions was
( --b --c)--a
(--a --c)--b
(--a --b )--c
Iâd really appreciate some kind of vote or input on this. If we
decide on using variables they should be used throughout.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author