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

Re: PATCH: _arguments (was Re: options are completed for non-option argument.)



In article <200007170801.KAA05649@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
  Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx> writes:

> > Z(2):akr@flux% Src/zsh -f
> > flux% bindkey -e; autoload -U compinit; compinit -D; compdef _tst tst
> > flux% _tst () { _arguments '-e::*last:b:' }                          
> > flux% tst -e <TAB>
> > _arguments:294: command not found: b
> 
> The syntax is `-e:*last::message:action'.

Oops.  I understood my fault.
-- 
Tanaka Akira



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