Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Problem with _arguments and _normal as action if nolistambiguous is set.
- X-seq: zsh-workers 7803
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: Problem with _arguments and _normal as action if nolistambiguous is set.
- Date: Mon, 13 Sep 1999 15:30:59 +0200 (MET DST)
- In-reply-to: "Andrej Borsenkow"'s message of Fri, 10 Sep 1999 20:19:48 +0400
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
Andrej Borsenkow wrote:
> itsrm2% sudo -TAB
> itsrm2% sudo <=cursor here
This is a really ugly bug. It comes from the fact that the options are
added with a `r:|-=*' match spec and commands are not. The completion
code currently can't merge the unambiguous string information if the
equal substrings are in an anchor for some matches and in a normal
string-part for other matches.
And the more I think about ways to solve this the more complicated it
gets. So I'll need some more time.
> TAB once more
>
> itsrm2% sudo !<=cursor
Here the completion code starts completing the matches for command
position. And they include the `!' (the `not' operaator/precommand
specifier).
> itsrm2% sudo !!<=cursor
I don't get this doubled `!'. For me it just continues inserting
command names and such things.
Bye
Sven
--
Sven Wischnowsky wischnow@xxxxxxxxxxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author