X-Git-Url: https://ruderich.org/simon/gitweb/?p=config%2Fdotfiles.git;a=blobdiff_plain;f=misc%2Fpsql%2Fpsqlrc.in;fp=misc%2Fpsql%2Fpsqlrc.in;h=9b37a6576c9f1503430cc1324d37bcc4551ab799;hp=23cc2d94354312763ccfdcc74f5bd46929868c95;hb=74564eea4ee2c71e3aa4c9ace359da7f1744e195;hpb=4fc2ad6c2abc2b857d52d14ac948d21e96390ab3 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.