Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zsh: insert-last-word problem after completion
- X-seq: zsh-workers 27922
- From: Vincent Lefevre <vincent@xxxxxxxxxx>
- To: Peter Stephenson <pws@xxxxxxx>
- Subject: Re: zsh: insert-last-word problem after completion
- Date: Mon, 26 Apr 2010 17:42:10 +0200
- Cc: zsh-workers@xxxxxxx, 579209@xxxxxxxxxxxxxxx
- In-reply-to: <20100426131139.6e7311a7@xxxxxxx>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mail-followup-to: Peter Stephenson <pws@xxxxxxx>, zsh-workers@xxxxxxx, 579209@xxxxxxxxxxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <20100426105331.GC25015@xxxxxxxxxxxxxxxxxxx> <20100426131139.6e7311a7@xxxxxxx>
On 2010-04-26 13:11:39 +0100, Peter Stephenson wrote:
> On Mon, 26 Apr 2010 12:53:31 +0200
> Vincent Lefevre <vincent@xxxxxxxxxx> wrote:
> > After a "zsh -f":
> >
> > % alias my_echo=echo
> > % false
> > % true &
> > % my_ech[TAB]
> >
> > A succession of [ESC] . (bound to insert-last-word) gives:
> >
> > my_echo&
> > my_echo&&
> > my_echo&false
> >
> > while I would expect:
> >
> > my_echo &
> > my_echo false
>
> That's a bug: can you get it to happen with the new completion system (I
> tried briefly and failed)? I presume there's a gap in the suffix-fixing
> logic for completion.
Actually I noticed the bug with the new completion system.
The bug still occurs by typing
autoload -U compinit
compinit
first.
--
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon)
Messages sorted by:
Reverse Date,
Date,
Thread,
Author