summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-05-21 04:06:10 +0000
committerMike Frysinger <vapier@gentoo.org>2015-05-21 04:06:10 +0000
commit9301f3508d36867dd33e451ea0da329ebb9483e8 (patch)
tree49d82ee91fa7a6124c5afd35161b912afc2e6368 /app-shells
parentAdded ~alpha, bug 544148. (diff)
downloadgentoo-2-9301f3508d36867dd33e451ea0da329ebb9483e8.tar.gz
gentoo-2-9301f3508d36867dd33e451ea0da329ebb9483e8.tar.bz2
gentoo-2-9301f3508d36867dd33e451ea0da329ebb9483e8.zip
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/ChangeLog7
-rw-r--r--app-shells/bash/files/bashrc-r25
2 files changed, 10 insertions, 2 deletions
diff --git a/app-shells/bash/ChangeLog b/app-shells/bash/ChangeLog
index 95607d0c94be..433893f6b818 100644
--- a/app-shells/bash/ChangeLog
+++ b/app-shells/bash/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-shells/bash
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-shells/bash/ChangeLog,v 1.429 2015/02/24 20:58:46 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-shells/bash/ChangeLog,v 1.430 2015/05/21 04:06:10 vapier Exp $
+
+ 20 May 2015; Mike Frysinger <vapier@gentoo.org> files/bashrc-r2:
+ 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.
*bash-4.3_p33-r2 (24 Feb 2015)
diff --git a/app-shells/bash/files/bashrc-r2 b/app-shells/bash/files/bashrc-r2
index 6622b84eb71d..c9bd88e85868 100644
--- a/app-shells/bash/files/bashrc-r2
+++ b/app-shells/bash/files/bashrc-r2
@@ -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