dotfiles

My personal shell configs and stuff
git clone git://git.alex.balgavy.eu/dotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

commit 809495677a2575a5353c41fb95bd3f086efb5cf0
parent 5b4a7eee29ff5c438602df6a5286115f584a412a
Author: Alex Balgavy <alex@balgavy.eu>
Date:   Sun, 17 Jul 2022 14:53:05 +0200

bash: move HISTFILE based on XDG spec

Diffstat:
Mshell/bashrc | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/shell/bashrc b/shell/bashrc @@ -11,7 +11,7 @@ shopt -s histappend # for setting history length see HISTSIZE and HISTFILESIZE in bash(1) export HISTSIZE=1000 export HISTFILESIZE=2000 -export HISTFILE="$HOME/.cache/bash/bash_history" +export HISTFILE="$XDG_STATE_HOME/bash/bash_history" # check the window size after each command and, if necessary, # update the values of LINES and COLUMNS.