Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: _prompt: two useless ':*:'
- X-seq: zsh-workers 8837
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: PATCH: _prompt: two useless ':*:'
- Date: Wed, 1 Dec 1999 13:02:04 +0100 (MET)
- In-reply-to: Alexandre Duret-Lutz's message of 01 Dec 1999 12:15:48 +0000
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
Alexandre Duret-Lutz wrote:
> ~ % prompt -<TAB>
> ~ % prompt -_arguments: bad pattern: adam1):*: [253]
>
> parse_cadef/parse_caarg won't split the action at colons once the
> first `:*pattern:' is encountered in a description, or for description
> of normal/rest arguments (starting with `n:', `*:' or `:').
>
> Should this be said en zshcompsys.1 ? I guess this means we can
> write `:foo:((a\:bar b\:baz))' without needing to escape colons in
> such cases (I didn't try).
Since things may change (i.e. meaning may be given to things which are
now not meaningful), I thought it better to not document this. In the
pure shell code version this wasn't possible, btw.
Bye
Sven
--
Sven Wischnowsky wischnow@xxxxxxxxxxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author