]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - misc/psql/psqlrc.in
herbstluftwm/autostart: add bindings to run programs and select windows
[config/dotfiles.git] / misc / psql / psqlrc.in
index 23cc2d94354312763ccfdcc74f5bd46929868c95..6875fef5ecc7f0fd524abe78f74a48c839ba019a 100644 (file)
@@ -1,6 +1,6 @@
 -- 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
@@ -36,8 +36,8 @@
 
 -- "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.