From: Ismaƫl Bouya Date: Wed, 21 Nov 2018 18:12:36 +0000 (+0100) Subject: Fine-tuning for realines (psql, bash) X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=25afbbb820e26ac4a372c3f1f2229582e5c15a2e;p=perso%2FImmae%2FConfig%2FAnsible.git Fine-tuning for realines (psql, bash) --- diff --git a/roles/shell/bash/files/inputrc b/roles/shell/bash/files/inputrc index 111f8dd..628f2a1 100644 --- a/roles/shell/bash/files/inputrc +++ b/roles/shell/bash/files/inputrc @@ -2,6 +2,7 @@ $include /etc/inputrc # Readline configuration # Can also be specified in bashrc with: bind "..." set colored-completion-prefix on +set colored-stats on # TAB: menu-complete set show-all-if-ambiguous on set show-all-if-unmodified on diff --git a/roles/tools/files/psqlrc b/roles/tools/files/psqlrc index c51f46e..25ba7d2 100644 --- a/roles/tools/files/psqlrc +++ b/roles/tools/files/psqlrc @@ -2,4 +2,8 @@ \set COMP_KEYWORD_CASE upper \x auto \set HISTSIZ -1 +\set HISTCONTROL ignoreboth +\set HISTFILE ~/.local/state/psql/psql_history- :DBNAME \set ECHO_HIDDEN on +\set VERBOSITY verbose +\set ECHO all