From 088b12118e8b5f8d902f6fc5a7694444c4bedb1f Mon Sep 17 00:00:00 2001 From: Mehdi Sadeghi Date: Thu, 16 Sep 2021 09:25:35 +0200 Subject: Enable shared bash history. --- .bashrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.bashrc') 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() -- cgit v1.2.3