Created
October 28, 2015 08:25
-
-
Save marklit/4713c396fa4c01805cb6 to your computer and use it in GitHub Desktop.
Postgres psql customisations
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| \set PROMPT1 '%[%033[1;33m%]%M:%>%[%033[1;32m%] %n@%/%R%[%033[0m%]%# ' | |
| \set PROMPT2 ' %R > ' | |
| \x auto | |
| \timing | |
| \set HISTFILE ~/.psql_history- :DBNAME | |
| \set HISTCONTROL ignoredups | |
| \set COMP_KEYWORD_CASE upper | |
| \pset null '¤' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment