-- Postgresql client configuration file.
--- Copyright (C) 2016 Simon Ruderich
+-- Copyright (C) 2016-2018 Simon Ruderich
--
-- This file is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- "ignorespace ignoredups"
\set HISTCONTROL ignoreboth
--- Set path to history file and increase it.
-\set HISTFILE HISTFILE_PATH
+-- Set path to history file (database specific) and increase the size.
+\set HISTFILE HISTFILE_PATH- :DBNAME
\set HISTSIZE 100000
-- Add transaction status (%x) to prompt; show database name in bold green.