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

another _arguments problem



Z(2):akr@is27e1u11% Src/zsh -f
is27e1u11% bindkey -e; autoload -U compinit; compinit -D; compdef _tst tst
is27e1u11% _tst () { _arguments -a ":desc1:(arg1)" "*::desc2:_tst2" }
is27e1u11% _tst2 () { compadd $CURRENT }
is27e1u11% tst arg1 -<TAB>

I think it should insert `a ' but it completes nothing.

Note that zsh inserts a space in a following case.

is27e1u11% tst arg1 -a<TAB>
-- 
Tanaka Akira



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