Add .psqlrc

From: https://github.com/eevee/rc/blob/master/.psqlrc
This commit is contained in:
Alan Orth 2020-12-13 12:42:30 +02:00
parent 9158ac85a1
commit b11f450040
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9
1 changed files with 12 additions and 0 deletions

12
.psqlrc Normal file
View File

@ -0,0 +1,12 @@
\set QUIET 1
\timing on
\set ON_ERROR_ROLLBACK interactive
\set VERBOSITY verbose
\set PROMPT1 '%[%033[1;35m%]%M/%/%R%[%033[0m%]% ☘ '
\set PROMPT2 '%[%033[1;30m%]...%[%033[0m%] %R '
\set HISTFILE ~/.psql_history- :DBNAME
\set HISTCONTROL ignoredups
\set COMP_KEYWORD_CASE upper
\pset null ␀
\pset linestyle unicode
\unset QUIET