From e09a1210fa26dbca0447cd0d7a13f267d0c0c74a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hannes=20K=C3=B6rber?= Date: Tue, 14 Oct 2025 12:28:30 +0200 Subject: [PATCH] Move bash_history into XDG directories --- zsh/zprofile.j2 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/zsh/zprofile.j2 b/zsh/zprofile.j2 index ebe78be..7375219 100644 --- a/zsh/zprofile.j2 +++ b/zsh/zprofile.j2 @@ -80,6 +80,9 @@ export REDISCLI_RCFILE="$XDG_CONFIG_HOME"/redisclirc export PYTHON_HISTORY=$XDG_STATE_HOME/python_history export PYTHONPYCACHEPREFIX=$XDG_CACHE_HOME/python +# bash-specific +export HISTFILE="$XDG_STATE_HOME"/bash_history + umask 0022 {% set env = machine.environment | combine(user.environment) %}