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

Re: _git: Add completion for help subcommand



On Fri, Aug 27, 2010 at 02:20, Aaron Schrab <aaron@xxxxxxxxxx> wrote:
> At 00:16 +0200 26 Aug 2010, Nikolai Weibull <now@xxxxxxxx> wrote:
>>
>> On Sat, Aug 21, 2010 at 14:21, Aaron Schrab <aaron@xxxxxxxxxx> 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.
>
> I think that results in unnecessary duplication, but I guess the list isn't
> big enough or likely to change often enough for that to be a major issue.

Actually, why not use

- '(formats)' \,

explicitly making the formats mutually exclusive?



Messages sorted by: Reverse Date, Date, Thread, Author