Adding an awesome psql prompt.
This commit is contained in:
parent
b3b0e62b9f
commit
b3099d7f7c
1 changed files with 2 additions and 0 deletions
2
.psqlrc
2
.psqlrc
|
@ -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%] '
|
||||||
|
|
Loading…
Reference in a new issue