Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: [PATCH] _git: Add completion for help subcommand



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