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

Re: Why is an 'x' appended in _prefix completer?



On 3/8/23, Marlon Richert <marlon.richert@xxxxxxxxx> wrote:
> In _prefix, line 53, why is an 'x' appended to the completion? Looks
> like a (21-year-old) typo to me.

See the comment above addx() in zle_tricky.c and get_comp_string() (i
don't actually recommend looking at this code). I can't guarantee that
the x in _prefix is like this x, but it seems likely. Also, the patch
where it was added:
https://www.zsh.org/mla/workers/2001/msg02024.html

-- 
Mikael Magnusson




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