diff options
| -rwxr-xr-x | install.sh | 1 | ||||
| -rw-r--r-- | psqlrc | 17 |
2 files changed, 18 insertions, 0 deletions
@@ -6,6 +6,7 @@ set -e # Install the files on this repo. cp bashrc $HOME/.bashrc +cp psqlrc $HOME/.psqlrc cp irbrc $HOME/.irbrc cp gemrc $HOME/.gemrc cp gitcompletion.sh $HOME/.gitcompletion.sh @@ -0,0 +1,17 @@ + +-- Show null values to NULL so we can distinguish them from empty strings. +\pset null NULL + +-- Set expanded display on (why isn't this the default behaviour ?) +\x + +-- Show how long a query took to be executed. +\timing + +-- Because everybody loves unicode. +\encoding unicode + +-- Set a beautiful prompt :P +\set PROMPT1 '%n@%/ > ' +\set PROMPT2 '' + |
