Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [BUG] compinit interactive mode overwrites command line
- X-seq: zsh-workers 53613
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- Cc: Andrea Manenti <andrea.manenti@xxxxxxxxx>, "zsh-workers@xxxxxxx" <zsh-workers@xxxxxxx>
- Subject: Re: [BUG] compinit interactive mode overwrites command line
- Date: Tue, 13 May 2025 18:57:39 +0200
- Archived-at: <https://zsh.org/workers/53613>
- In-reply-to: <CAH+w=7a9eosNJUu4LfU_0DhoB4rMzd+Zfy2SfgJ8CpvOw_xiAg@mail.gmail.com>
- List-id: <zsh-workers.zsh.org>
- References: <iJtTqY193x0XgWjkT4UpOscJ89ZO5F-auk031rZ6pvhen9BfdP_OP3LcpEKJANzI82SBeIF_IoyQPcOWkpOQH5428NSXm-qcJZej_AlwTUA=@proton.me> <CAHYJk3SG76rK+bZwB7y8qkM2LuA0S77mmRfH0+J+1iTjYtMp8g@mail.gmail.com> <CAH+w=7ZmB3K4ycNUD+5RC2Fk1JZTyV+_0bvJe+XwnGCVHSiRSw@mail.gmail.com> <CAHYJk3SNc8F00ZpywEhzFWVpF2j-DAuOMrxEyvVY-emiuAVJrQ@mail.gmail.com> <CAH+w=7a9eosNJUu4LfU_0DhoB4rMzd+Zfy2SfgJ8CpvOw_xiAg@mail.gmail.com>
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