From dae07a30c88f1ed8cefc88f8add621b732357383 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hannes=20K=C3=B6rber?= Date: Tue, 14 Oct 2025 12:22:10 +0200 Subject: [PATCH] Move postgres stuff into XDG directories --- zsh/zprofile.j2 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/zsh/zprofile.j2 b/zsh/zprofile.j2 index 913ed1a..aa9c179 100644 --- a/zsh/zprofile.j2 +++ b/zsh/zprofile.j2 @@ -69,6 +69,11 @@ export AWS_CONFIG_FILE="$XDG_CONFIG_HOME"/aws/config export XINITRC="$XDG_CONFIG_HOME"/xinitrc +export PSQLRC="$XDG_CONFIG_HOME/psqlrc" +export PSQL_HISTORY="$XDG_STATE_HOME/psql_history" +export PGPASSFILE="$XDG_CONFIG_HOME/pgpass" +export PGSERVICEFILE="$XDG_CONFIG_HOME/pg_service.conf" + umask 0022 {% set env = machine.environment | combine(user.environment) %}