about summary refs log tree commit diff
path: root/postgres/.psqlrc
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--postgres/.psqlrc16
1 files changed, 16 insertions, 0 deletions
diff --git a/postgres/.psqlrc b/postgres/.psqlrc
new file mode 100644
index 0000000..6405f72
--- /dev/null
+++ b/postgres/.psqlrc
@@ -0,0 +1,16 @@
+\set QUIET 1
+\pset null '[NULL]'
+
+\set PROMPT1 '%[%033[1m%]%M %n@%/%R%[%033[0m%]% λ '
+\set PROMPT2 '    … > '
+
+\timing
+
+\x auto
+
+\set HISTCONTROL ignoredups
+\set HISTFILE ~/.local/var/lib/psql_history_ :DBNAME
+
+\set VERBOSITY verbose
+
+\unset QUIET

Consider giving Nix/NixOS a try! <3