dotfiles/.psqlrc

10 lines
260 B
Text
Raw Permalink Normal View History

2014-10-23 16:33:10 +02:00
\timing on
\setenv LESS -ix4
2014-10-23 16:33:10 +02:00
\x auto
\pset null '[NULL]'
\set HISTCONTROL ignorespace
\set HISTSIZE 1000
2015-02-11 17:45:43 +01:00
\set PROMPT1 '%[%033[32m%]psql:%[%033[36m%]//%n%[%033[34m%]@%[%033[36m%]%`hostname`:%>%[%033[33m%]/%/ %[%033[K%]%[%033[0m%]%[%033[1;33m%]%#%[%033[0m%] '