X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=misc%2Fpsql%2Fpsqlrc.in;h=9b37a6576c9f1503430cc1324d37bcc4551ab799;hb=74564eea4ee2c71e3aa4c9ace359da7f1744e195;hp=23cc2d94354312763ccfdcc74f5bd46929868c95;hpb=00b4c91969f0ee1fd7ea4e87a0b0e1ab9407c87c;p=config%2Fdotfiles.git diff --git a/misc/psql/psqlrc.in b/misc/psql/psqlrc.in index 23cc2d9..9b37a65 100644 --- a/misc/psql/psqlrc.in +++ b/misc/psql/psqlrc.in @@ -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 it. +\set HISTFILE HISTFILE_PATH- :DBNAME \set HISTSIZE 100000 -- Add transaction status (%x) to prompt; show database name in bold green.