bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: enhancement merge request


From: Ananth Chellappa
Subject: Re: enhancement merge request
Date: Sun, 18 Apr 2021 21:51:13 -0700

But have I conveyed the functionality I'm seeking? Naseeba's version works
perfectly..

I agree I can't assert the existing version doesn't provide it. I'm happy
to learn how to use it to meet my needs.. The best change is always no
change.

On Sun, Apr 18, 2021 at 9:18 PM Lawrence Velázquez <vq@larryv.me> wrote:

> > On Apr 18, 2021, at 7:12 PM, Ananth Chellappa <ananth.ch@gmail.com>
> wrote:
> >
> > Even this guy https://paulh.consulting/
> > thought it was easy before deciding it was worth $500 of his time to try
> > adding it :)
>
> I don't know who "this guy" is.  There are a lot of very skilled
> developers who aren't specifically versed in the paradigms or
> particulars of shells.  There's nothing wrong with that, but it's
> also not really a compelling argument in favor of changing the
> fundamental behavior of a shell option.
>
> > analog@DESKTOP-O264A5N ~ $ set HISTFILE=/home/analog/.bash_history
>
> This does not set the HISTFILE shell variable or affect the history
> mechanism in any way.  It clears all positional parameters except
> the first, which is set to 'HISTFILE=/home/analog/.bash_history'.
>
> > 2150  echo a private command   <---- Yikes, this was in private mode! I
> > shouldn't see this after "exiting"
> > 2151  echo an evil command     <---- private mode. LV suggested that
> using
> > HISTFILE unset/set would be be
>
> HISTFILE doesn't affect the internal history list, only the external
> history file.  It wasn't clear to me that you cared about the former.
>
> --
> vq
>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]