From 91cb29902208d72688d4a3e836fc8e2e46bb66f2 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Wed, 7 Dec 2016 18:05:03 -0500 Subject: bash: move HISTFILE to XDG_DATA_HOME --- .config/bash/rc.d/10_hist.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.config') 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 -- cgit v1.2.3-2-g168b