Skip to content

Commit

Permalink
psqlrc
Browse files Browse the repository at this point in the history
  • Loading branch information
kpa28-git committed Dec 17, 2022
1 parent 6be3b56 commit 6ff5e93
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .config/postgres/psqlrc
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@

-- env variables
\set XDG_SCRIPT_HOME `echo "$XDG_SCRIPT_HOME"`

-- generic sql
\set sqltools :XDG_SCRIPT_HOME'/sqltools'
\set sqlpgtools :XDG_SCRIPT_HOME'/sqlpgtools'

-- generic sql scripts
\set lsschema '\\i :sqltools/lsschema.sql';

-- postgres specific
\set sqlpgtools :XDG_SCRIPT_HOME'/sqlpgtools'
-- postgres specific scripts
\set ldb '\\i :sqlpgtools/ldb.psql';
\set lsconfig '\\i :sqlpgtools/lsconfig.psql';
\set lsdb '\\i :sqlpgtools/lsdb.psql';
Expand Down

0 comments on commit 6ff5e93

Please sign in to comment.