diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-12-07 18:05:03 -0500 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-12-07 18:05:03 -0500 |
commit | 91cb29902208d72688d4a3e836fc8e2e46bb66f2 (patch) | |
tree | 528683fdbaf0dfdd695caf79c81885d9a8b21b23 /.config | |
parent | 45c9560051f635a9e632b5db48004dc39b9c630b (diff) |
bash: move HISTFILE to XDG_DATA_HOME
Diffstat (limited to '.config')
-rw-r--r-- | .config/bash/rc.d/10_hist.sh | 2 |
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 |