~mehdix/dotfiles

088b12118e8b5f8d902f6fc5a7694444c4bedb1f — Mehdi Sadeghi 4 months ago 7811272
Enable shared bash history.
1 files changed, 2 insertions(+), 2 deletions(-)

M .bashrc
M .bashrc => .bashrc +2 -2
@@ 8,8 8,8 @@ HISTIGNORE="gst"
HISTTIMEFORMAT="%F "

# Uncomment this line and remove `histappend' to enable shared history.
# PROMPT_COMMAND="${PROMPT_COMMAND:+$PROMPT_COMMAND$'\n'}history -a; history -c; history -r;"
shopt -s histappend
PROMPT_COMMAND="${PROMPT_COMMAND:+$PROMPT_COMMAND$'\n'}history -a; history -c; history -r;"
#shopt -s histappend

# See Bash manual
_completion_loader()