.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:
parent
9e697bb24b
commit
6e257e9a7d
3
.bashrc
3
.bashrc
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user