From: Simon Ruderich Date: Sat, 15 Jul 2017 17:09:53 +0000 (+0200) Subject: psql: remove COMP_KEYWORD_CASE upper X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=6c93e1ab2b55ac6e0f488d6ff3b17a467e8f44c9;p=config%2Fdotfiles.git psql: remove COMP_KEYWORD_CASE upper Makes recalling old commands from history more difficult because the case is not unique. As I tend to write queries in lowercase keeping everything lowercase yields better results. --- diff --git a/psql/psqlrc.in b/psql/psqlrc.in index 130215c..ddd0a2f 100644 --- a/psql/psqlrc.in +++ b/psql/psqlrc.in @@ -34,10 +34,6 @@ -- restart the transaction on a typo in a statement. \set ON_ERROR_ROLLBACK interactive --- Uppercase keywords when completing. Thanks to [1] (read on 2016-08-06). --- [1]: http://phili.pe/posts/postgresql-on-the-command-line/ -\set COMP_KEYWORD_CASE upper - -- "ignorespace ignoredups" \set HISTCONTROL ignoreboth -- Set path to history file and increase it.