From 43be04b15f6bde6e29fe8c221252c5cbe6c7acdc Mon Sep 17 00:00:00 2001 From: Paul Trowbridge Date: Mon, 7 May 2018 17:15:30 -0400 Subject: [PATCH] add note on psql defaults --- bash.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/bash.md b/bash.md index 5efa7c7..0127cbe 100644 --- a/bash.md +++ b/bash.md @@ -12,4 +12,12 @@ sudo apt-get install postgres-10 sudo su - postgres -psql \ No newline at end of file +psql + + +Set PSQL defaults +------------------------------------------------------------------------------------------------------------- + +put .psqlrc in home directory +\set x '\\setenv PAGER less' +\set xx '\\setenv PAGER \'pspg -bX --no-mouse\'' \ No newline at end of file