
Do you know if the HISTTIMEFORMAT messes up the nodups option or the recursive search function? I can't live without the rec search ;) -Kenny On Wed, 10 Sep 2008, Thomas Van Parys wrote:
Kenny Billiau schreef:
http://blog.macromates.com/2008/working-with-history-in-bash/
I knew how to get your history file to remember all your previous commands, but saving and appending from all closing bash shells, I hadn't found yet. :)
I don't quite understand the default policy of history either. Sometimes, your commands are saved, but indeed when working with multiple shells, you tend to lose some sessions completely while keeping others.
Btw, I have this one in my .bashrc as well: export HISTTIMEFORMAT="%F (%H:%M) : "
It gives your history entries a nice timestamp.
T.
PS. didn't know the nodups option either, but it rocks :-)
--