From 25afbbb820e26ac4a372c3f1f2229582e5c15a2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Wed, 21 Nov 2018 19:12:36 +0100 Subject: Fine-tuning for realines (psql, bash) --- roles/shell/bash/files/inputrc | 1 + roles/tools/files/psqlrc | 4 ++++ 2 files changed, 5 insertions(+) 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 -- cgit v1.2.3