# HG changeset patch # User Oleksandr Gavenko # Date 1341749983 -10800 # Node ID 3860547a559482a5515a488c5c19000877067559 # Parent 9b1b0a64635b7039e3870ee490be50db453760af Set HISTTIMEFORMAT to force Bash to store timestamp. diff -r 9b1b0a64635b -r 3860547a5594 .bashrc --- a/.bashrc Sun Jul 08 14:13:05 2012 +0300 +++ b/.bashrc Sun Jul 08 15:19:43 2012 +0300 @@ -22,6 +22,9 @@ eval "`dircolors -b ~/.dircolors`" fi +# Can be XXX /visible. I like bell. +# set bell-style visible + # Don't store duplicate adjacent items in the history. # ignorespace do not save lines that start with space # erasedups all previous lines matching the current line to be removed from @@ -41,8 +44,7 @@ # HISTFILESIZE=500 # how many lines been in $HISTFILE # HISTSIZE=500 # how many lines been stored in bash process -# Can be XXX /visible. I like bell. -# set bell-style visible +HISTTIMEFORMAT="%F %T " # Make Bash append rather than overwrite the history. shopt -s histappend