Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH] _git: Add completion for help subcommand
- X-seq: zsh-workers 28216
- From: Nikolai Weibull <now@xxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- Subject: Re: [PATCH] _git: Add completion for help subcommand
- Date: Mon, 30 Aug 2010 20:59:09 +0200
- Cc: 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=V3H9Y1wJEZiswCIMyU3NO0LiNnS7tQCOYbeok0gfHl0=; b=usSrgDaOigxApMJx3u8PsUL78HV3IfP9YK8+xXBFJuQ/RPL0boujeqlhcU+JD7eK6V IAVNgr88BKxrU2nTFCZSTybnhNQEGQvA7QCyTj7Cx6yRTiYJcFiutThDvGTFPeme5p8W LK51+2u+YA/hwJWvIsNq22FAC+crBewFRH5eI=
- 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=bYx9I3UUuq660EzrZF/LXLsdj6bFP1yzYrXNuX8/bYLTK+etLgm0zSvlkcgS9eeKd5 AEjapret9b4duIkKqpAm3i8n5ncy3p1HgK3ClU3CNOmfrmGwBrvgsAbj8Z6YPoa6H/iJ YdC2tBZPR54uUO7OZEOOtvww8/8RaGXoqwUgE=
- In-reply-to: <100830094359.ZM7722@xxxxxxxxxxxxxxxxxxxxxx>
- 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> <AANLkTi=y_z0MEtVGi02AqhDTR5hgi2EU-+=6UUu2kGe0@xxxxxxxxxxxxxx> <100830094359.ZM7722@xxxxxxxxxxxxxxxxxxxxxx>
- Sender: nikolai.weibull@xxxxxxxxx
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