Adding an awesome psql prompt.

This commit is contained in:
Rodolphe Breard 2015-02-11 17:45:43 +01:00
parent b3b0e62b9f
commit b3099d7f7c

View file

@ -5,3 +5,5 @@
\set HISTCONTROL ignorespace \set HISTCONTROL ignorespace
\set HISTSIZE 1000 \set HISTSIZE 1000
\set PROMPT1 '%[%033[32m%]psql:%[%033[36m%]//%n%[%033[34m%]@%[%033[36m%]%`hostname`:%>%[%033[33m%]/%/ %[%033[K%]%[%033[0m%]%[%033[1;33m%]%#%[%033[0m%] '