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
- X-seq: zsh-workers 8810
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: zsh-3.1.6-pws-10: sudo completion does not work again
- Date: Tue, 30 Nov 1999 12:43:32 +0100 (MET)
- In-reply-to: "Andrej Borsenkow"'s message of Tue, 30 Nov 1999 13:45:07 +0300
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
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