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

Re: zsh _multi_parts patch and question



On 2016/05/10, at 16:23, Marko Myllynen <myllynen@xxxxxxxxxx> wrote:
> 
> First here's a trivial patch to mention the -i option for _multi_parts:

Thanks, I've pushed the patch.

>  # Fail
>  _wanted test expl test _multi_parts -i . \
>    ( a.b.a a.b.b b.a.a b.a.b c.a.a c.a.b ) && return 0

You need to quote the literal array, for example,

_wanted test expl test _multi_parts -i . \
   '( a.b.a a.b.b b.a.a b.a.b c.a.a c.a.b )' && return 0

Jun



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