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

cursor positioning with compleiton



I found a problem with cursor positioning with compleiton.

Z(2):akr@is27e1u11% Src/zsh -f
is27e1u11% bindkey -e; fpath=($PWD/Completion/*(/)); autoload -U compinit; compinit -D; compdef _tst tst
is27e1u11% compconf group_matches=yes message_format='%d' description_format='%d' describe_options=yes
is27e1u11% _tst () { _arguments -s '-a[aaa]' '-b[bbb]' }
is27e1u11% tst -<TAB>
option
-a -- aaa
-b -- bbb

After this, the cursor are positioned in the line to define `_tst'.
-- 
Tanaka Akira



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