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

Re: PATCH: Removing aliases from history, 2015 style



On Wed, 25 Mar 2015 15:48:53 +0000
Peter Stephenson <p.stephenson@xxxxxxxxxxx> wrote:
> On Mon, 23 Mar 2015 21:34:26 +0000
> Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx> wrote:
> > Ideally, I think we'd handle not adding
> > the alias text to history the way we've been doing in other cases by
> > checking INP_* flags, which is much less hit and miss.  That ought not
> > to be too difficult, but I haven't really got my mind round the
> > consequences yet.
> 
> Hmm... I typed this in more or less as below (with one subsequent fix to
> testing flags for interaction with !-history) and was expecting it to
> fail horribly, and so far it's failed to fail.  Perhaps my expectations
> were low simply because it's been the old way since 2 million BC.
> 
> I'll try it further.

Well, it's obviously not *that* broken.

I'll push it so that Mikael can fall over the 1 in 1,000,000 corner case
again.

pws



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