Is there some setting or package that I could use to give syntax highlighting to
psql (the PostgreSQL shell)?
I just found pgcli (https://github.com/dbcli/pgcli) — a postgres client that does auto-completion and syntax highlighting. It looks awesome!
If you already know how to install python packages, then you can simply do:
If you don't know how to install python packages, please check the detailed instructions.