diff options
author | Mike Crute <mike@crute.us> | 2019-12-12 09:31:40 -0800 |
---|---|---|
committer | Mike Crute <mike@crute.us> | 2019-12-12 09:31:40 -0800 |
commit | 14491440269c37217edd071e46b0bd1f95bae99a (patch) | |
tree | ea638b7b6736eccc01851b7faf6f90e4c2f8b50b /.bashrc | |
parent | 198c34f6a5ef254f5e8d5cc18c54c4ab9f9affd4 (diff) | |
download | dotfiles-14491440269c37217edd071e46b0bd1f95bae99a.tar.bz2 dotfiles-14491440269c37217edd071e46b0bd1f95bae99a.tar.xz dotfiles-14491440269c37217edd071e46b0bd1f95bae99a.zip |
Disable disorienting history feature
Diffstat (limited to '.bashrc')
-rw-r--r-- | .bashrc | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -117,7 +117,10 @@ if [[ "$MY_SHELL" =~ "bash" ]]; then | |||
117 | # such that a command entered in a different window will be available | 117 | # such that a command entered in a different window will be available |
118 | # for ^R in this window after the next prompt generation. | 118 | # for ^R in this window after the next prompt generation. |
119 | history -a # Append current window history to history file | 119 | history -a # Append current window history to history file |
120 | history -n # Read new history entries to current window history list | 120 | |
121 | # This can be nice to have commands always synced but also | ||
122 | # disorienting. So disabling it for now. | ||
123 | #history -n # Read new history entries to current window history list | ||
121 | } | 124 | } |
122 | 125 | ||
123 | export PROMPT_COMMAND=_prompt_command | 126 | export PROMPT_COMMAND=_prompt_command |