-
-
Save karmatr0n/bde8d9d0efba8487cfd68e37a600f9a2 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- :USER - :HOST - :PORT - :DBNAME | |
\set PROMPT1 '%M:%[%033[1;31m%]%>%[%033[0m%] %n@%/%R%#%x ' | |
\pset pager off | |
\pset null '(null)' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment