Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: widget special PREFIX variable and cursor position with complete_in_word
On 02/14/2014 03:39 PM, Oliver Kiddle wrote:
> Yuri D'Elia wrote:
>> Where would be the correct place to hook this completer to work for all
>> completitions (not only file names)?
>
> Include it in the 'completer' style:
>
> zstyle ':completion:*::::' completer _show_ambiguity _complete
>
> You'll have this style set already, probably with a long list of
> functions such as _expand, _approximate, _prefix etc. It needs to appear
> early in the list.
I wasn't sure before, but it doesn't seem to work for me.
I see the function being called and ZLS_COLORS being set, but no
colorization happens.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author