psql is a powerful interactive terminal for PostgreSQL. The configuration file for psql is psqlrc (see psqlrc config file).