Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: completion oddity
>>>>> On May 22, 2012 Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> The matcher-list style is only used when it is not empty!
> _description: [[ -n "$_matcher" ]] && opts=($opts -M "$_matcher")
> So you can't use matcher-list to turn off matching, only to modify it.
Hi Bart,
Is there something I can put in matcher-list to effectively turn off
this default and globally get the behavior as when you added "-M ''"
below:
_k () { _arguments -M '' --r1-word --really-r1-word }
I tried these:
% zstyle ':completion:*' matcher-list ' ' # space
% zstyle ':completion:*' matcher-list 'm:{a-z}={a-z}'
and neither seems to do the trick..
Greg
Messages sorted by:
Reverse Date,
Date,
Thread,
Author