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

Re: menu-select doesn't respect COMPLETE_IN_WORD option

On Sun, Jun 14, 2020 at 5:37 PM Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> On Sat, Jun 13, 2020 at 9:28 PM Alan <8fvebtoeq87@xxxxxxxxx> wrote:
> >
> > When I leave completeinword unset, _prefix completion simply doesn't work, even if I have:
> If I turn on "completeinword" then I can reproduce your described
> behavior with menu-complete, although expand-or-complete-prefix still
> works as expected. [...]
> So I still think you want to leave complete-in-word turned off and
> find out what other part of your startup is breaking things when you
> do.

Ignore that last part, sorry.  I just realized that when you wrote
"_prefix completion simply doesn't work" you did not mean that
completion failed, you just mean that it did something you didn't want
it to, and that "something" is probably exactly what I described it

This documentation is in fact correct: "One gotcha with the _prefix
completer: you have to make sure the option COMPLETE_IN_WORD is set."

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