X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=misc%2Fpsql%2Fpsqlrc.in;h=6875fef5ecc7f0fd524abe78f74a48c839ba019a;hb=7f26795d08496a81f4db179d66730d0e0357480c;hp=23cc2d94354312763ccfdcc74f5bd46929868c95;hpb=0b96090f82bd835ed3707be7f7a32cc497272458;p=config%2Fdotfiles.git diff --git a/misc/psql/psqlrc.in b/misc/psql/psqlrc.in index 23cc2d9..6875fef 100644 --- a/misc/psql/psqlrc.in +++ b/misc/psql/psqlrc.in @@ -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.