diff options
author | Oscar Najera <hi@oscarnajera.com> | 2025-01-22 22:20:26 +0100 |
---|---|---|
committer | Oscar Najera <hi@oscarnajera.com> | 2025-01-22 22:20:26 +0100 |
commit | 21c35c52b1ff7d6c54187f9983214a16af34f85c (patch) | |
tree | d81e61c8521d56809c63c5f6a0022a6f329155e6 /home-dots | |
parent | 561f83cf2b7e9ce797eddf1602ce55a58dfbb36c (diff) | |
download | dotfiles-21c35c52b1ff7d6c54187f9983214a16af34f85c.tar.gz dotfiles-21c35c52b1ff7d6c54187f9983214a16af34f85c.tar.bz2 dotfiles-21c35c52b1ff7d6c54187f9983214a16af34f85c.zip |
eternal bash history needs other file
Diffstat (limited to 'home-dots')
-rw-r--r-- | home-dots/dot-bashrc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/home-dots/dot-bashrc b/home-dots/dot-bashrc index edfc360..dd7aa4c 100644 --- a/home-dots/dot-bashrc +++ b/home-dots/dot-bashrc @@ -10,7 +10,11 @@ HISTSIZE=-1 HISTFILESIZE=-1 -HISTCONTROL=ignorespace +HISTCONTROL=ignoreboth +HISTTIMEFORMAT="[%F %T] " +# Change the file location because certain bash sessions truncate .bash_history file upon close. +# http://superuser.com/questions/575479/bash-history-truncated-to-500-lines-on-each-login +HISTFILE=~/.bash_eternal_history # enable color support of ls and also add handy aliases if [ -x /usr/bin/dircolors ]; then |