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
-\timing
-
--- 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
\set COMP_KEYWORD_CASE upper
M install.sh => install.sh +3 -0
@@ 1,3 1,6 @@
#!/bin/sh
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