# Bash history fixes
shopt -s histappend
export PROMPT_COMMAND='history -a'
export HISTSIZE=5000
Commands from all terminals will be appended to the .bash_history file instead of replacing it. Very useful for if you routinely use multiple terminals.
# Bash history fixes
shopt -s histappend
export PROMPT_COMMAND='history -a'
export HISTSIZE=5000
No comments:
Post a Comment