[Top][All Lists]

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

Re: Default time for unmarked history lines

From: Reuben Thomas
Subject: Re: Default time for unmarked history lines
Date: Mon, 18 Jan 2016 10:00:39 +0000

On 11 January 2016 at 14:22, Chet Ramey <address@hidden> wrote:
For a history file without any timestamps, using
the current default and setting the history entry timestamp to the current
time is more appropriate.

​Why is that? The only similar thing I can think of is file systems, where if you zero the metadata you get timestamps of the epoch, not the current time.​
You probably also have histappend set or didn't use something like
`history -w' to force the entire history file to be written when the shell

​That's right.

​ ​

reply via email to

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