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

Re: widget special PREFIX variable and cursor position with complete_in_word



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.

Oliver



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