app-shells/bash: Back out the `history -a` by default as it can be a bit troublesome...
authorMike Frysinger <vapier@gentoo.org>
Thu, 21 May 2015 04:06:10 +0000 (04:06 +0000)
committerMike Frysinger <vapier@gentoo.org>
Tue, 26 Jan 2016 07:12:10 +0000 (02:12 -0500)
app-shells/bash/files/bashrc

index 6622b84eb71d58535fbc2b86cfbde4cef52df9ee..c9bd88e8586815b52e402ba1b623141534126ac1 100644 (file)
@@ -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