From 2bffced05bd82a0238550671278bcbf03c522f09 Mon Sep 17 00:00:00 2001 From: Andrew Williams Date: Wed, 7 Jan 2026 15:53:30 +0000 Subject: [PATCH] [bash] Move history to XDG --- bash/.config/bash/01_exports.bash | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bash/.config/bash/01_exports.bash b/bash/.config/bash/01_exports.bash index 9c6c14e..fb474e0 100644 --- a/bash/.config/bash/01_exports.bash +++ b/bash/.config/bash/01_exports.bash @@ -1,2 +1,6 @@ +# History +mkdir -p "${XDG_STATE_HOME}"/bash +export HISTFILE="${XDG_STATE_HOME}"/bash/history + # Prompt export PS1="\[\e[0;90m\][\[\e[0;37m\]\u\[\e[0;37m\]@\[\e[0;37m\]\H\[\e[0;90m\]] \[\e[0;90m\](\[\e[0;37m\]\W\[\e[0;90m\]) \[\e[0;37m\]\$\[\e[0m\] "