Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Backrefs in zstyle patterns
On Fri, 1 May 2015 08:45:52 -0700
Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> About a year ago in users/18572, I proposed this:
>
> setopt extendedglob
> zstyle -e '(#b)(:completion:*)' matcher-list \
> 'zstyle -a "word-$CURRENT$match" matcher-list reply'
>
> I'm fairly sure that worked then, but now it doesn't, as in, the pattern is
> never matched, not that $match is incorrect.
See what's going into pattry() in lookupstyle() and whether p->prog
looks different from what you get from a conditional comparison, and
whether it got compiled with extendedglob properly.
pws
Messages sorted by:
Reverse Date,
Date,
Thread,
Author