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

Re: PATCH: _prompt: two useless ':*:'



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