[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [OT] Not clobbering bash history
From: |
Arsen Arsenović |
Subject: |
Re: [OT] Not clobbering bash history |
Date: |
Fri, 08 Dec 2023 11:15:40 +0100 |
Richard Stallman <rms@gnu.org> writes:
> [[[ To any NSA and FBI agents reading my email: please consider ]]]
> [[[ whether defending the US Constitution against all enemies, ]]]
> [[[ foreign or domestic, requires you to follow Snowden's example. ]]]
>
> > > So the commands of Basb process A and those of Basb process B would be
> > > interspersed in the history? And as you go forward and back in the
> > > history in Bash process B, you would see A's commands and B's commands
> > > in chronological order?
>
> > Yes. ZSH does implement this well IME (but I haven't used ZSH
> > extensively.. so I'm not sure if I'd run into trouble with it).
>
> > > That makes a kind of sense, but what I would envision is that each
> > > Bash process has its own history with only the commands of that process.
>
> > Some do prefer that. It'd be reasonable to do that by default, as it's
> > currently the default.
>
> It seems fine to support both modes and let each user choose.
I agree.
--
Arsen Arsenović
signature.asc
Description: PGP signature