Fix the bash history appending.

This commit is contained in:
Scott Wallace 2016-06-10 18:19:31 +01:00
parent 8b9ef9d66c
commit a2521e8e83

View file

@ -107,7 +107,7 @@ export HISTCONTROL=ignoredups:erasedups
shopt -s histappend shopt -s histappend
# After each command, save and reload history # After each command, save and reload history
export PROMPT_COMMAND="${PROMPT_COMMAND:+$PROMPT_COMMAND$'\n'}history -a" export PROMPT_COMMAND="history -a; ${PROMPT_COMMAND:+$PROMPT_COMMAND$'\n'}"
#-------------------------------------------------------------------------------- #--------------------------------------------------------------------------------
#-------------------------------------------------------------------------------- #--------------------------------------------------------------------------------