summaryrefslogtreecommitdiff
path: root/.config/bash
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-01-04 10:42:16 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-01-04 10:42:16 -0500
commit906b645cdb3286076affbb942ff23d99e409db86 (patch)
tree4b7700326b09dfaf19363d04fb46072a1c0877a1 /.config/bash
parent0b746ef1515bbede74963535c79dc3e9631be9a1 (diff)
enlarge Bash's HISTSIZE (500 -> 5000)
Diffstat (limited to '.config/bash')
-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%/*}"