[Top][All Lists]

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

Re: `eval` pollutes the history when it runs "set -o history"

From: Andreas Schwab
Subject: Re: `eval` pollutes the history when it runs "set -o history"
Date: Tue, 11 Jun 2019 16:07:24 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux)

On Jun 11 2019, Chet Ramey <address@hidden> wrote:

> Maybe. But the user-visible option that says whether or not to save
> commands in the history is decoupled from the internal set of flags that
> control it. The option should remain visibly on unless the user turns it
> off, even if saving commands in the history is temporarily suppressed. The
> thing is that enabling history with `set -o history' turns all of these
> things on.

But should the effect of `set -o history' be deferred until the end of
the temporary suppression?


Andreas Schwab, SUSE Labs, address@hidden
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."

reply via email to

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