summaryrefslogtreecommitdiff
path: root/.bashrc
diff options
context:
space:
mode:
authorMehdi Sadeghi <mehdi@mehdix.org>2021-09-16 09:25:35 +0200
committerMehdi Sadeghi <mehdi@mehdix.org>2021-09-16 09:25:35 +0200
commit088b12118e8b5f8d902f6fc5a7694444c4bedb1f (patch)
tree29a9a8d3f8f757229ff01cf6715f194c31246265 /.bashrc
parent7811272919050da70534f1bc074a89427b710117 (diff)
Enable shared bash history.
Diffstat (limited to '.bashrc')
-rw-r--r--.bashrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/.bashrc b/.bashrc
index 0ed5f77..c161bce 100644
--- a/.bashrc
+++ b/.bashrc
@@ -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()