Sometimes I don't have time to fully commit to my dotfiles. These are one-offs I use:
// ~/.gitignore (OS X)
.DS_Store
// ~/.pg_service.conf
[vagrant]
user=db_username
password=db_password
host=localhost
port=vagrant_port
dbname=db_name
// ~/.psqlrc
// More options here: https://www.periscope.io/blog/optimizing-your-psql.html
\x auto
\pset null '(null)'