Created
March 3, 2015 10:06
-
-
Save cloud8421/52cd2cf232936af34acb to your computer and use it in GitHub Desktop.
psqlrc
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 ON_ERROR_ROLLBACK interactive | |
\set COMP_KEYWORD_CASE upper | |
\set HISTFILE ~/.psql/history- :DBNAME | |
\pset pager off | |
\pset null '(null)' | |
\x auto | |
\set VERBOSITY verbose | |
\set HISTCONTROL ignoredups | |
\timing | |
\pset linestyle unicode | |
\pset border 2 | |
-- colorize | |
\set PROMPT1 '%[%033[33;1m%]%x%[%033[0m%]%[%033[1m%]%/%[%033[0m%]%R%# ' | |
\set PROMPT2 '[more] %R > ' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment