5bd5abc443a4456b74f459ad95961ac179e01ee8 — Edward Loveall 3 months ago 406c32b
Clean up postgres config

Timing and auto output was annoying. I also moved the history from the home folder to ~/.config/psql
2 files changed, 4 insertions(+), 8 deletions(-)

M configs/dot-psqlrc
M install.sh
M configs/dot-psqlrc => configs/dot-psqlrc +1 -8
@@ 9,13 9,6 @@
-- you don't really need more information from the original prompt.
\set PROMPT2 '[more] %#> '

-- Show how long each query takes to execute

-- Use best available output format
\x auto

\set VERBOSITY verbose
\set HISTFILE ~/.psql_history-:DBNAME
\set HISTFILE ~/.config/psql/psql_history-:DBNAME
\set HISTCONTROL ignoredups

M install.sh => install.sh +3 -0
@@ 1,3 1,6 @@

stow --verbose --dotfiles --target="$HOME" configs git plugins vim zsh

# To ensure that psql's HISTFILE has a place to store command history
mkdir -p ~/.config/psql