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

Re: [BUG] compinit interactive mode overwrites command line



On Tue, May 13, 2025 at 6:04 PM Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
>
> On Tue, May 13, 2025 at 8:43 AM Mikael Magnusson <mikachu@xxxxxxxxx> wrote:
> >
> > On Mon, May 12, 2025 at 10:58 PM Bart Schaefer
> > <schaefer@xxxxxxxxxxxxxxxx> wrote:
> > >
> > > There's a long thread about this starting at workers/50412.  It
> > > interacts with a thread from Marlon starting at workers/49242.
> >
> > Ah, the archive didn't show me that connection, only the single mail
> > at w/49242, and I think it's still missing mails starting from the
> > other point too, I just see your patch saying you think it fixes the
> > issue, and then no further comments.
>
> Ah, sorry, the thread picks up again at w/52657 -- I guess the
> archives won't link references dating back 3 years.
>
> Other mentions in w/52312.
>
> > I'm not sure what all the cases are, due to the above reason, but it
> > works in two cases I can come up with to test, and fails in a third.
>
> All my test cases are on that machine I mentioned elsewhere that's
> been powered down for 8 months.  Maybe I'll try to revive it this
> weekend.

Ah, I see that I was probably a bit naive (I also realized that my -3
hack only works because my command line starts with "ls ", that's
where the 3 came from :). I was operating from the assumption that the
bug only appears if you enter with "menu yes select interactive", and
not if you enter interactive mode via ctrl-r once in menu completion,
but that is probably also incorrect.

-- 
Mikael Magnusson




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