diff options
| author | Miquel Sabaté <mikisabate@gmail.com> | 2013-11-08 16:57:20 +0000 |
|---|---|---|
| committer | Miquel Sabaté <mikisabate@gmail.com> | 2013-11-08 16:57:20 +0000 |
| commit | c93317c9e73da8781f7ecd49c5ee68ad647332bb (patch) | |
| tree | e57f14826a60e74a36c65907313e2a076a4278b6 | |
| parent | c1a0e2b3948e18a34e312f5a79f6802d0c06c0bb (diff) | |
| download | dotfiles-c93317c9e73da8781f7ecd49c5ee68ad647332bb.tar.gz dotfiles-c93317c9e73da8781f7ecd49c5ee68ad647332bb.zip | |
Added the psqlrc file
| -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 '' + |
