.bashrc: Turn off history stuff

It's annoying any really doesn't work.  Better to just remember
each terminal's own history.

Signed-off-by: Alan Orth <alan.orth@gmail.com>
This commit is contained in:
Alan Orth 2014-09-15 21:28:06 +03:00
parent 9e697bb24b
commit 6e257e9a7d
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9

View File

@ -19,8 +19,7 @@ TITLEBAR='echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD}\007"'
HISTCONTROL=ignoreboth HISTCONTROL=ignoreboth
# ignore common commands in bash history # ignore common commands in bash history
HISTIGNORE='ls:bg:fg:history' HISTIGNORE='ls:bg:fg:history'
# save history after every command (and set term title) PROMPT_COMMAND="$TITLEBAR"
PROMPT_COMMAND="history -a; history -c; history -r; $TITLEBAR"
# If a private bin directory exists, add it to PATH # If a private bin directory exists, add it to PATH
[[ -d ~/bin ]] && PATH="$PATH:~/bin" [[ -d ~/bin ]] && PATH="$PATH:~/bin"