diff options
author | Toby Vincent <tobyv@tobyvin.dev> | 2023-11-07 12:25:57 -0600 |
---|---|---|
committer | Toby Vincent <tobyv@tobyvin.dev> | 2023-11-07 12:41:01 -0600 |
commit | 2815f126db9fcb84cd109cdc0f19b78998bf9d53 (patch) | |
tree | 5fa25c8ea7ad77b8992b7c78209d34cf9c3a49a1 /sh/.config/profile.d | |
parent | 6cd28a807f92a96508df32fcfef2e51ec47b4ce1 (diff) |
fix(pg): add XDG Base Directory compat for pgsql
Diffstat (limited to 'sh/.config/profile.d')
-rw-r--r-- | sh/.config/profile.d/50-pg.sh | 6 |
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" |