Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH] env completion: add missing explanation of --unset option, fixes alignment of completed arguments
- X-seq: zsh-workers 27401
- From: "Benjamin R. Haskell" <zsh@xxxxxxxxxx>
- To: Zsh Workers <zsh-workers@xxxxxxx>
- Subject: Re: [PATCH] env completion: add missing explanation of --unset option, fixes alignment of completed arguments
- Date: Thu, 12 Nov 2009 16:46:37 -0500 (EST)
- In-reply-to: <1258060512-sup-2464@cannonball>
- 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: <alpine.LNX.2.01.0911121446150.26715@xxxxxxxxxxx> <1258056819-4409-1-git-send-email-ingmar@xxxxxxxxxxx> <alpine.LNX.2.01.0911121548300.26715@xxxxxxxxxxx> <1258060512-sup-2464@cannonball>
On Thu, 12 Nov 2009, Ingmar Vanhassel wrote:
> Excerpts from Benjamin R. Haskell's message of Thu Nov 12 21:52:50 +0100 2009:
> > On Thu, 12 Nov 2009, Ingmar Vanhassel wrote:
> >
> > [...]
> > 3. the fix to complete arguments to the command passed to 'env'
>
> This doesn't fix 'env FOO=bar quux <TAB>' here.
I agree. :-) Spoke too soon. (I'd only tested with 'env -u BLAH quux <TAB>')
I thought the '(-):command: _command_names -e' line was more magical than
it is. Turns out the '*::arguments: _normal' is the 'quux <TAB>'-enabling
portion, modulo the intervening FOO=bar args.
This way lie dragons. Going back to ye cave of Zsh-completion
begginneres.
-- Ben
Messages sorted by:
Reverse Date,
Date,
Thread,
Author