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

Re: expandorcompleteprefix patch



> Here is a very small patch to fix expand-or-complete-prefix when in automenu
> mode (prob also in menucomplete mode too).
> 
> This comletion mechanism hasn't worked for a while, but I only just got around
> to fixing it.  No idea how to properly submit patches, so I'm just going to
> send to this mailing list with the hope that it's added.

This patch certainly fixes the bug you describe but it is not the proper
fix.  The real problem is that selfinsert() should not change menucomp and
addedsuffix (the later is necessary to make autoremoveslash usable with
expand-or-complete-prefix).  I posted patches for that about a year ago
which will be included in beta17.

Bye,

Zoltan




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