Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Completing comma seprated list of option values in _atguments
- X-seq: zsh-users 4690
- From: Oliver Kiddle <okiddle@xxxxxxxxxxx>
- To: Sven Wischnowsky <wischnow@xxxxxxxxx>, zsh-users@xxxxxxxxxx
- Subject: Re: Completing comma seprated list of option values in _atguments
- Date: Mon, 25 Feb 2002 09:54:25 +0000 (GMT)
- In-reply-to: <15481.64476.314684.446454@xxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
--- Sven Wischnowsky <wischnow@xxxxxxxxx> wrote:
> compset -P '*,'
> _wanted foos expl foo compadd -qS, calculated values
Though this and the example which followed it don't really handle a
suffix. I'd stick compset -S ',*' || suf=(-qS,) between those two
lines.
I'd use _values here though unless you're coming up against bugs.
Oliver
__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
Messages sorted by:
Reverse Date,
Date,
Thread,
Author