diff options
author | Mike Frysinger <vapier@gentoo.org> | 2015-05-21 04:06:10 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2016-01-26 02:12:10 -0500 |
commit | 55f05e6f12d8fa2d102a66a2f8d93c53f9b01faf (patch) | |
tree | 5dd89dd11fee6b2b96b10d4e055d2cf8a9c4a407 /app-shells | |
parent | aa0fc40cbad85c69d35c94ebbd98a81be78123af (diff) | |
download | gentoo-55f05e6f12d8fa2d102a66a2f8d93c53f9b01faf.tar.gz gentoo-55f05e6f12d8fa2d102a66a2f8d93c53f9b01faf.tar.xz |
app-shells/bash: Back out the `history -a` by default as it can be a bit troublesome with the constant disk load (failing drives, flaky network e.g. NFS, etc...). See #517342 for details.
Diffstat (limited to 'app-shells')
-rw-r--r-- | app-shells/bash/files/bashrc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/app-shells/bash/files/bashrc b/app-shells/bash/files/bashrc index 6622b84eb71..c9bd88e8586 100644 --- a/app-shells/bash/files/bashrc +++ b/app-shells/bash/files/bashrc @@ -31,7 +31,10 @@ shopt -s histappend # This does mean sessions get interleaved when reading later on, but this # way the history is always up to date. History is not synced across live # sessions though; that is what `history -n` does. -PROMPT_COMMAND='history -a' +# Disabled by default due to concerns related to system recovery when $HOME +# is under duress, or lives somewhere flaky (like NFS). Constantly syncing +# the history will halt the shell prompt until it's finished. +#PROMPT_COMMAND='history -a' # Change the window title of X terminals case ${TERM} in |