summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2017-10-01 16:13:49 -0400
committerLuke Shumaker <lukeshu@lukeshu.com>2018-01-10 19:22:23 -0500
commita8aafd4f2710f270bf0a0f3cbb487a9253f147a8 (patch)
treedb52fa715c52753052573dc05faaab90d5aaa0b5 /.config
parentd4cd9c1e86837d822a7caa36e569cfb030f85629 (diff)
bash: increase HISTSIZE
Diffstat (limited to '.config')
-rw-r--r--.config/bash/rc.d/10_hist.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/.config/bash/rc.d/10_hist.sh b/.config/bash/rc.d/10_hist.sh
index 6b2c4f1..3d34d6e 100644
--- a/.config/bash/rc.d/10_hist.sh
+++ b/.config/bash/rc.d/10_hist.sh
@@ -4,6 +4,6 @@
HISTCONTROL=$HISTCONTROL${HISTCONTROL+,}ignoredups
HISTFILE=${XDG_DATA_HOME}/bash/history
HISTTIMEFORMAT='[%Y-%m-%d %H:%M] '
-HISTSIZE=5000
+HISTSIZE=50000
shopt -s histappend # append to the history file, don't overwrite it
mkdir -p "${HISTFILE%/*}"