In my tool postgres_dba, the setup instructions have this:
The file ~/.psqlrc can be used to set some settings by default. For example: