aboutsummaryrefslogtreecommitdiff
path: root/bash
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2012-06-05 04:15:28 +1200
committerTom Ryder <tom@sanctum.geek.nz>2012-06-05 04:15:28 +1200
commitbc7c5fa5ef4600fa499c44793167d7564f09cb50 (patch)
tree28964e64c177942cdf77ea693bcacc6c12d95953 /bash
parentSafety valve for history bug (diff)
downloaddotfiles-bc7c5fa5ef4600fa499c44793167d7564f09cb50.tar.gz
dotfiles-bc7c5fa5ef4600fa499c44793167d7564f09cb50.zip
History still broken. Giving up.
Diffstat (limited to 'bash')
-rw-r--r--bash/bashrc11
1 files changed, 0 insertions, 11 deletions
diff --git a/bash/bashrc b/bash/bashrc
index 879ee58b..4eee163b 100644
--- a/bash/bashrc
+++ b/bash/bashrc
@@ -14,17 +14,6 @@ HISTCONTROL=ignoreboth
# Keep the times of the commands in history.
HISTTIMEFORMAT='%F %T '
-# Read in and submit history on each newline. Broken in old Bash.
-case "$BASH_VERSION" in
-
- # This is broken in older versions of Bash which I occasionally have to
- # use; some nasty bug adds screeds of history repeatedly, probably caused
- # by the history -n part. Seems okay in versions 3 and up.
- [3-4].*)
- PROMPT_COMMAND="history -n; history -a; ${PROMPT_COMMAND}"
- ;;
-esac
-
# Don't check for mail all the time, it's irritating.
unset MAILCHECK