aboutsummaryrefslogtreecommitdiffstats
path: root/bash
diff options
context:
space:
mode:
authorjason2020-10-24 10:15:30 -0600
committerjason2020-10-24 10:15:30 -0600
commitabec8bfa24d4f00c124277d594e9b403fd3c65e5 (patch)
treeed2c6d40c91550714be9bb03b83c97999238936d /bash
parent2af933101b5178bf9d430d033b68bf0dac61272b (diff)
downloaddotfiles-abec8bfa24d4f00c124277d594e9b403fd3c65e5.tar.gz
dotfiles-abec8bfa24d4f00c124277d594e9b403fd3c65e5.zip
dont reload bash_history between commands
Diffstat (limited to 'bash')
-rw-r--r--bash/.bashrc4
1 files changed, 3 insertions, 1 deletions
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
16shopt -s histappend # append entries rather than overwrite 16shopt -s histappend # append entries rather than overwrite
17shopt -s cmdhist # Store multi-line commands as a single line 17shopt -s cmdhist # Store multi-line commands as a single line
18# Store history immediately 18# Store history immediately
19export PROMPT_COMMAND="history -a;history -r; ${PROMPT_COMMAND}" 19## history -r rereads
20#export PROMPT_COMMAND="history -a;history -r; ${PROMPT_COMMAND}"
21export PROMPT_COMMAND="history -a; ${PROMPT_COMMAND}"
20export HISTCONTROL="ignoredups" 22export HISTCONTROL="ignoredups"
21export HISTIGNORE="ls:cd" 23export HISTIGNORE="ls:cd"
22 24