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

:*pattern:message:action



I found that _arguments description `:*pattern:message:action' has a problem.

Z(2):akr@is27e1u11% Src/zsh -f
is27e1u11% bindkey -e; autoload -U compinit; compinit -D; compdef _tst tst
is27e1u11% _tst () { _arguments '-x:*-?*:arguments for -x:' '-y' '-z' }
is27e1u11% zstyle ':completion*:messages' format '%d'
is27e1u11% tst -x a b c -y <TAB>
arguments for -x

This doesn't complete `-y' and `-z'.  However they are completed by
following command line, it is not intentional, I think.

is27e1u11% tst -x ab c -?* <TAB>
-- 
Tanaka Akira



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