-
Notifications
You must be signed in to change notification settings - Fork 5
/
.psqlrc
34 lines (23 loc) · 781 Bytes
/
.psqlrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
-- vim: ft=pgsql
-----------------------------------------
-- psqlrc file to set psql preferences --
-- Author : Jesus Rafael Sanchez --
-----------------------------------------
\set QUIET ON
-- PostgreSQL DBA psql ToolKit
\i ~/.config/psql/dba_toolkit.pgsql
-- Interactive settings configuration
\i ~/.config/psql/psql_interactive_settings.pgsql
-- psql menu loader
\i ~/.config/psql/psql_menu.pgsql
-- Prompt settings configuration (for superuser)
\i ~/.config/psql/psql_prompt-:is_superuser.pgsql
\set QUIET OFF
-- Menu reload
\set menu '\\i ~/.config/psql/psql_menu.pgsql'
-- Prompt reload
\set prompt_reload '\\i ~/.config/psql/psql_prompt-:is_superuser.pgsql'
-- Development tools:
\set sp 'SHOW search_path;'
\set clear '\\! clear;'
\set ll '\\! ls -lrt;'