X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=psql%2Fpsqlrc.in;h=8396dfda4427eff38141b0220c73ba0f6dbd08de;hb=09aedd869ed40adcafe1640c01ddf5252f666aa7;hp=8901fbfcab96c470bb0ae4ad01cc1f5d5cacc911;hpb=8fac741a66fb10d3389f116daa52722ea0745b82;p=config%2Fdotfiles.git diff --git a/psql/psqlrc.in b/psql/psqlrc.in index 8901fbf..8396dfd 100644 --- a/psql/psqlrc.in +++ b/psql/psqlrc.in @@ -39,5 +39,9 @@ \set HISTFILE HISTFILE_PATH \set HISTSIZE 100000 +-- Add transaction status (%x) to prompt. +\set PROMPT1 '%x%/%R%# ' +\set PROMPT2 :PROMPT1 + -- But display the normal psql welcome message. \set QUIET off