aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--sh/.config/profile.d/50-pg.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/sh/.config/profile.d/50-pg.sh b/sh/.config/profile.d/50-pg.sh
new file mode 100644
index 0000000..a88a576
--- /dev/null
+++ b/sh/.config/profile.d/50-pg.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+export PSQLRC="$XDG_CONFIG_HOME/pg/psqlrc"
+export PSQL_HISTORY="$XDG_STATE_HOME/psql_history"
+export PGPASSFILE="$XDG_CONFIG_HOME/pg/pgpass"
+export PGSERVICEFILE="$XDG_CONFIG_HOME/pg/pg_service.conf"