Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
starting completions with =,<,>
- X-seq: zsh-workers 20193
- From: chris s <oberyno@xxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: starting completions with =,<,>
- Date: Sun, 25 Jul 2004 04:42:41 -0700
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- Sender: news <news@xxxxxxxxxxxxx>
Hi, I'm trying to add to the functionality of the emerge completion for
gentoo linux. For example,
emerge -p =zsh-4.2.0-r1
emerge -p '>zsh-4.2.0'
emerge -p '<zsh-4.2.0'
emerge -p '>=zsh-4.2.0'
emerge -p zsh
are all valid commands. I saw in the manpage that _values does not
support the equal sign. Unfortunately, that's exactly what I need.
Here's a small working example of what I'm trying to do.
http://home.earthlink.net/~oberyno/data/_emerge
The relevant part being
'--exact[specify exact version]:*::alt:->exact_ver'
This is what I'd rather have look like this:
'=[specify exact version]:*::alt:->exact_ver'
Is there any way to fake this? Thanks for any advice.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author