Changed history tracking. Removed 'mixed' history to 'separate' but still saved.
This commit is contained in:
parent
5368fe091a
commit
db114e4bea
2
.bashrc
2
.bashrc
|
@ -41,7 +41,7 @@ export HISTCONTROL=ignoredups:erasedups
|
|||
shopt -s histappend
|
||||
|
||||
# After each command, save and reload history
|
||||
export PROMPT_COMMAND="${PROMPT_COMMAND:+$PROMPT_COMMAND$'\n'}history -a; history -c; history -r"
|
||||
export PROMPT_COMMAND="${PROMPT_COMMAND:+$PROMPT_COMMAND$'\n'}history -a"
|
||||
#--------------------------------------------------------------------------------
|
||||
|
||||
#--------------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in a new issue