zsh-workers
 help / color / mirror / code / Atom feed
From: "Benjamin R. Haskell" <zsh@benizi.com>
To: Zsh Workers <zsh-workers@zsh.org>
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)	[thread overview]
Message-ID: <alpine.LNX.2.01.0911121637290.26715@hp.internal> (raw)
In-Reply-To: <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


  reply	other threads:[~2009-11-12 21:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <alpine.LNX.2.01.0911121446150.26715@hp.internal>
2009-11-12 20:13 ` Ingmar Vanhassel
2009-11-12 20:52   ` Benjamin R. Haskell
2009-11-12 21:16     ` Ingmar Vanhassel
2009-11-12 21:46       ` Benjamin R. Haskell [this message]
2009-11-13 13:47   ` Stephane Chazelas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.LNX.2.01.0911121637290.26715@hp.internal \
    --to=zsh@benizi.com \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).