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

Re: zsh-3.1.6-pws-10: sudo completion does not work again



Andrej Borsenkow wrote:

> This completion does not work again.

Did it once work?

> ...
>         '::complete command and/or arguments:_normal' 
> 
> and if I try to call it:
> 
> bor@itsrm2:~%> sudo um<TAB>   (implying umount)   
> _tags:9: job table full or recursion limit exceeded

The line above describes an optional argument. It does not say that
the completion system should continue with only some of the words from 
the line.

You want:

     _arguments \
       ...
       '*::command and arguments: _normal'

And that works.

Bye
 Sven


--
Sven Wischnowsky                         wischnow@xxxxxxxxxxxxxxxxxxxxxxx



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