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



I wrote:

> You want:
> 
>      _arguments \
>        ...
>        '*::command and arguments: _normal'
> 
> And that works.

I forgot to say: what you really want is, I think, this:

  ':command: _command_names -e' \
  '*::arguments:_normal' 

So that you don't get the builtins.

Bye
 Sven


--
Sven Wischnowsky                         wischnow@xxxxxxxxxxxxxxxxxxxxxxx



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