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

completion with multiple arguments for an option.



Z(4):akr@serein% Src/zsh -f
serein% bindkey -e; autoload -U compinit; compinit -D
serein% _tst () { _arguments '-o:1:(a):2:(b)' }
serein% compdef _tst tst
serein% tst -o <TAB>
a   b

It shouldn't complete `b'.
-- 
Tanaka Akira



Messages sorted by: Reverse Date, Date, Thread, Author