vapier      15/05/21 04:06:10

  Modified:             bashrc-r2
  Log:
  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.

Revision  Changes    Path
1.2                  app-shells/bash/files/bashrc-r2

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-shells/bash/files/bashrc-r2?rev=1.2&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-shells/bash/files/bashrc-r2?rev=1.2&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-shells/bash/files/bashrc-r2?r1=1.1&r2=1.2

Index: bashrc-r2
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-shells/bash/files/bashrc-r2,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- bashrc-r2   24 Feb 2015 20:58:46 -0000      1.1
+++ bashrc-r2   21 May 2015 04:06:10 -0000      1.2
@@ -31,7 +31,10 @@
 # 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




Reply via email to