summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-01-04 10:42:16 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-01-27 17:27:45 -0500
commit7c6bd772530c7ad276e80966fb294e3898bb394c (patch)
treeff883fdd693851ed54c665f794d4b025deb3bae2
parent11c540f5f8c5639cb0a434f28a9bcbfd65afce77 (diff)
enlarge Bash's HISTSIZE (500 -> 5000)
-rw-r--r--.config/bash/rc.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/.config/bash/rc.sh b/.config/bash/rc.sh
index bfba6d4..faf8116 100644
--- a/.config/bash/rc.sh
+++ b/.config/bash/rc.sh
@@ -21,6 +21,7 @@ shopt -s checkhash
export HISTCONTROL=ignoredups
export HISTFILE=${XDG_CACHE_HOME}/bash/history
export HISTTIMEFORMAT='[%Y-%m-%d %H:%M] '
+export HISTSIZE=5000
shopt -s histappend # append to the history file, don't overwrite it
mkdir -p "${HISTFILE%/*}"