> For the complete documentation index, see [llms.txt](https://ploegert.gitbook.io/til/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ploegert.gitbook.io/til/programmy/databases/postgres/commands/use-a-psqlrc-file-for-common-settings.md).

# Use A psqlrc File For Common Settings

There are a handful of settings that I inevitably turn on or configure each time I open up a `psql` session. I can save myself a little time and sanity by configuring these things in a `.psqlrc` dotfile that is located in my home directory. This will ensure my `psql` session is configured just how I like it each time I launch it. Here is what my `~/.psqlrc` file currently looks like:

```
\x auto
\timing
\pset null 'Ø'
```
