fix(bash): move bash history to XDG_STATE_HOME

This commit is contained in:
Dan Anglin 2022-05-02 13:30:43 +01:00
parent e97feb443a
commit 44a6ca8350
Signed by: dananglin
GPG key ID: 0C1D44CFBEE68638

View file

@ -3,7 +3,7 @@
## vim: ft=sh : ## vim: ft=sh :
# The name of the history file. # The name of the history file.
HISTFILE=${XDG_DATA_HOME}/bash/history HISTFILE=${XDG_STATE_HOME}/bash/history
# Don't put duplicate lines or lines starting with space in the history. # Don't put duplicate lines or lines starting with space in the history.
HISTCONTROL=ignoreboth HISTCONTROL=ignoreboth