summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-12-07 18:05:03 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2017-02-11 18:27:05 -0500
commit39ce2af71a83189fb8acb61829b35aca75534809 (patch)
treef318c67c9f946f1480741ea2cbb7196367db5cef
parent080d369c9f8c22b27d9107dfd0344743f4b3fb6f (diff)
bash: move HISTFILE to XDG_DATA_HOME
-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 d7c6bfc..6b2c4f1 100644
--- a/.config/bash/rc.d/10_hist.sh
+++ b/.config/bash/rc.d/10_hist.sh
@@ -2,7 +2,7 @@
# don't overwrite GNU Midnight Commander's setting of `ignorespace'.
HISTCONTROL=$HISTCONTROL${HISTCONTROL+,}ignoredups
-HISTFILE=${XDG_CACHE_HOME}/bash/history
+HISTFILE=${XDG_DATA_HOME}/bash/history
HISTTIMEFORMAT='[%Y-%m-%d %H:%M] '
HISTSIZE=5000
shopt -s histappend # append to the history file, don't overwrite it