From abec8bfa24d4f00c124277d594e9b403fd3c65e5 Mon Sep 17 00:00:00 2001 From: jason Date: Sat, 24 Oct 2020 10:15:30 -0600 Subject: dont reload bash_history between commands --- bash/.bashrc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'bash') diff --git a/bash/.bashrc b/bash/.bashrc index 3e19db3..ed3722c 100644 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -16,7 +16,9 @@ export HISTFILESIZE= # Unlimited file size shopt -s histappend # append entries rather than overwrite shopt -s cmdhist # Store multi-line commands as a single line # Store history immediately -export PROMPT_COMMAND="history -a;history -r; ${PROMPT_COMMAND}" +## history -r rereads +#export PROMPT_COMMAND="history -a;history -r; ${PROMPT_COMMAND}" +export PROMPT_COMMAND="history -a; ${PROMPT_COMMAND}" export HISTCONTROL="ignoredups" export HISTIGNORE="ls:cd" -- cgit v1.2.1