diff options
| author | jason | 2020-10-24 10:15:30 -0600 |
|---|---|---|
| committer | jason | 2020-10-24 10:15:30 -0600 |
| commit | abec8bfa24d4f00c124277d594e9b403fd3c65e5 (patch) | |
| tree | ed2c6d40c91550714be9bb03b83c97999238936d /bash | |
| parent | 2af933101b5178bf9d430d033b68bf0dac61272b (diff) | |
| download | dotfiles-abec8bfa24d4f00c124277d594e9b403fd3c65e5.tar.gz dotfiles-abec8bfa24d4f00c124277d594e9b403fd3c65e5.zip | |
dont reload bash_history between commands
Diffstat (limited to 'bash')
| -rw-r--r-- | bash/.bashrc | 4 |
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 | |||
| 16 | shopt -s histappend # append entries rather than overwrite | 16 | shopt -s histappend # append entries rather than overwrite |
| 17 | shopt -s cmdhist # Store multi-line commands as a single line | 17 | shopt -s cmdhist # Store multi-line commands as a single line |
| 18 | # Store history immediately | 18 | # Store history immediately |
| 19 | export PROMPT_COMMAND="history -a;history -r; ${PROMPT_COMMAND}" | 19 | ## history -r rereads |
| 20 | #export PROMPT_COMMAND="history -a;history -r; ${PROMPT_COMMAND}" | ||
| 21 | export PROMPT_COMMAND="history -a; ${PROMPT_COMMAND}" | ||
| 20 | export HISTCONTROL="ignoredups" | 22 | export HISTCONTROL="ignoredups" |
| 21 | export HISTIGNORE="ls:cd" | 23 | export HISTIGNORE="ls:cd" |
| 22 | 24 | ||