Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: insert-last-word makes space disappear
- X-seq: zsh-users 7860
- From: Jesper Holmberg <jeho5791@xxxxxxxxxxxxx>
- To: Zsh-users List <zsh-users@xxxxxxxxxx>
- Subject: Re: insert-last-word makes space disappear
- Date: Mon, 16 Aug 2004 08:46:35 +0200
- In-reply-to: <Pine.LNX.4.61.0408132357390.30205@xxxxxxxxxxxxxxxxxx>
- Mail-followup-to: Zsh-users List <zsh-users@xxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20040813082318.GN1191@localhost> <Pine.LNX.4.61.0408132357390.30205@xxxxxxxxxxxxxxxxxx>
- Sender: Jesper Holmberg <jesper.holmberg.5791@xxxxxxxxxxxxx>
* On Sat Aug 14, Bart Schaefer wrote:
> On Fri, 13 Aug 2004, Jesper Holmberg wrote:
>
> > What happens is that the combination of menu-complete and
> > insert-last-word (bound to alt-.) sometimes makes a vital space
> > disappear on the command line.
>
> I suspect that you don't really have alt-. bound to insert-last-word,
> or more precisely that you have replaced the builtin insert-last-word
> widget with a user-defined widget such as smart-insert-last-word from
> the Functions/Zle directory.
Yes, I do use smart-insert-last-word, sorry for the confusion. I have now
added your LBUFFER+='' trick to the start of this function, and so far it
seems to be working well. I'll report back if I find any problems.
As for the long-time solution, I suppose others are better fit than me to
tackle this.
Thank you for your help, Bart!
Jesper
Messages sorted by:
Reverse Date,
Date,
Thread,
Author