diff --git a/.bashrc b/.bashrc index 4a68598..cd036b9 100644 --- a/.bashrc +++ b/.bashrc @@ -161,8 +161,9 @@ IGNOREEOF=0 # History control. HISTCONTROL="ignoredups" +HISTFILE="$HOME/.bash_history-$(hostname --short)" HISTFILESIZE=100000 -HISTIGNORE="w:bg:bg *:fg:fg *:jobs:exit:pwd:clear:history" +HISTIGNORE="bg:bg *:fg:fg *:jobs:exit:clear:history" HISTSIZE=-1 HISTTIMEFORMAT="%d/%m/%y %H:%M:%S " history -r