[Tcsh] History merging bug?
eran at leshem.life
Sat Apr 22 23:05:22 UTC 2023
I've reported this problem (or a very similar one) here: https://github.com/tcsh-org/tcsh/issues/41
From: Tcsh [mailto:tcsh-bounces at astron.com] On Behalf Of Kimmo Suominen
Sent: Saturday, April 15, 2023 12:23 PM
To: tcsh at astron.com
Subject: [Tcsh] History merging bug?
The manual says his about the savehist variable:
> If the second word is set to ‘merge’, the history list is merged
> with the existing history file instead of replacing it (if there is
> one) and sorted by time stamp and the most recent events are retained.
If I have:
set history=(1024) savehist=(1024 merge)
then the most recent events always disappear (not saved in ~/.history).
If I have:
set history=(1024) savehist(2048 merge)
then the new events are getting added to ~/.history, although I wonder
if it keeps working after ~/.history has reached 2048 entries in size.
Anyone else having an issue with this?
Tcsh mailing list
Tcsh at astron.com
More information about the Tcsh