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 12:56 PM, Oliver Kiddle wrote:
> The completer I've put below, turns an unambiguous string such as ./te
> into (((.|)/|)t|)e and matches as much of that as possible on the
> beginning of the match display string. So with file completion and a
> file named test, the 'te' would match that pattern, ./ is missing from
> the display string and the s gets underlined. You can easily contrive
> ways to break that but the result seems to work reasonably in my very
> limited testing.

Where would be the correct place to hook this completer to work for all
completitions (not only file names)?




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