diff options
author | terminaldweller <thabogre@gmail.com> | 2022-12-21 13:43:25 +0000 |
---|---|---|
committer | terminaldweller <thabogre@gmail.com> | 2022-12-21 13:43:25 +0000 |
commit | 9f174dea7865c9b2aa9228fc26f8dc9c4895ac74 (patch) | |
tree | de99dc91ff11cb1a243f0dc6cea1734dfa6eaf05 /.psqlrc | |
parent | update (diff) | |
download | scripts-9f174dea7865c9b2aa9228fc26f8dc9c4895ac74.tar.gz scripts-9f174dea7865c9b2aa9228fc26f8dc9c4895ac74.zip |
update
Diffstat (limited to '')
-rw-r--r-- | .psqlrc | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -1,9 +1,12 @@ \set QUIET 1 /* prompts */ -\set PROMPT1 '\x1b[38;5;34m%n\x1b[0m@\x1b[38;5;39m%M\x1b[0m:\x1b[38;5;37m%> \x1b[38;5;69m%`date +%H:%M:%S` \x1b[38;5;4m[%/] \x1b[38;5;31m%x\x1b[38;5;104m%#\x1b[38;5;34m%R\n\x1b[38;5;28m>>>\x1b[0m' +/* \set PROMPT1 '\x1b[38;5;34m%n@\x1b[38;5;39m%M:\x1b[38;5;37m%> \x1b[38;5;69m%`date +%H:%M:%S` \x1b[38;5;4m[%/] \x1b[38;5;31m%x\x1b[38;5;104m%#\x1b[38;5;34m%R\n\x1b[38;5;28m>>>\x1b[38;5;255m' */ +/* \set PROMPT2 '... ' */ +/* \set PROMPT3 '\x1b[38;5;38m>>>\x1b[38;5;255m' */ +\set PROMPT1 '%n@%M:%> %`date +%H:%M:%S` [%/] %x%#%R\n>>>' \set PROMPT2 '... ' -\set PROMPT3 '\x1b[38;5;38m>>>\x1b[0m' +\set PROMPT3 '>>>' \pset null '[null]' \set COMP_KEYWORD_CASE upper @@ -16,6 +19,7 @@ \set HISTFILE ~/.psql_history- :DBNAME \set HISTCONTROL ignoredups + \set ON_ERROR_STOP on \set ON_ERROR_ROLLBACK interactive @@ -25,7 +29,7 @@ \pset unicode_column_linestyle single \pset unicode_header_linestyle double +\unset QUIET + \set version 'SELECT version();' \set extensions 'select * from pg_available_extensions;' - -\unset QUIET |