From b3099d7f7c39c24fe2e0ca293688f9608eca3d26 Mon Sep 17 00:00:00 2001 From: Rodolphe Breard Date: Wed, 11 Feb 2015 17:45:43 +0100 Subject: [PATCH] Adding an awesome psql prompt. --- .psqlrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.psqlrc b/.psqlrc index 64f310d..b230489 100644 --- a/.psqlrc +++ b/.psqlrc @@ -5,3 +5,5 @@ \set HISTCONTROL ignorespace \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%] '