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

options are completed for non-option argument.



Z(2):akr@flux% Src/zsh -f
flux% bindkey -e; autoload -U compinit; compinit -D; compdef _tst tst       
flux% _tst () {
function> _arguments -s '-a' '-b' '-c' ':words:compadd - abyyy abzzz' 
function> }
flux% tst ab<TAB><TAB>
-a   -c

Options are completed for non-option argument.
-- 
Tanaka Akira



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