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

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



On Mon, Aug 30, 2010 at 18:43, Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:

> On Aug 26, Â9:55am, Nikolai Weibull wrote:

> } Perhaps. The common pattern I saw when I began writing completion
> } functions was
> }
> } ( Â Â--b --c)--a
> } (--a   --c)--b
> } (--a --b  Â)--c

> Nikolai, I think you're missing the point of the abc example you quoted.
>
> In that example, every set inside the parens is different, and the writer
> of the function chose to lay them out so that it was obvious where the
> differences were.

That had not alluded me.  What I never âunderstoodâ was why the
standard form wasnât to use a variable in this case.  I mean, the
difference is that you exclude the current option, which is of course
excluded by itself (unless its defined as being able to appear many
times).



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