Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Completing comma seprated list of option values in _atguments



 --- 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