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

Re: interactivecomments and preexec



2013-07-22 21:22:16 +0100, Stephane Chazelas:
> 2013-07-22 21:02:03 +0100, Peter Stephenson:
> > On Mon, 22 Jul 2013 19:30:12 +0100
> > Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx> wrote:
> > > +	ihwend();
> > 
> > Oops, should be hwend(), which is a function pointer that points to
> > ihwend() in the case of interactive history.  Now fixed.
> [...]
> 
> Thanks,
> 
> though that works with `zsh -f`, that doesn't seem to work with
> those options:
[...]

The culprit is histreduceblanks here.

Actually that patch reverts to the old behavior like in 4.3.10.
Except that in 4.3.10, if you typed:

: # whatever

Pressing the Up key would bring you that same line, while now it
brings you ": #".

-- 
Stephane



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