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

_argument_sets problem



Z(4):akr@serein% Src/zsh -f
serein% bindkey -e; autoload -U compinit; compinit -D; compdef _tst tst
serein% zstyle ':completion:*' group-name ''
serein% zstyle ':completion:*:messages' format %d
serein% zstyle ':completion:*:descriptions' format %d
serein% _tst () {
function>      _argument_sets \
function>          -a -b \
function>        - '(compress)' {-c,--compress}'[compress]' \
function>        - '(uncompress)' \
function>          {-d,--decompress}'[decompress]'
function> }
serein% tst <TAB>
no arguments

Hm.
-- 
Tanaka Akira



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