Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Minor nitpick: why is the session history larger than the maximum file size?

It always annoyed me that HISTTIMEFORMAT is not set by default. Without it, log entries are simply not timestamped at all.

The readline tweaks were news to me, thanks.



HISTFILESIZE is kind of a misnomer. It's the maximum number of lines in HISTFILE, where HISTSIZE is the maximum number of commands. If you have HISTTIMEFORMAT set, then each command gets at least 2 lines, plus the possibility of multi-line commands.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: