summaryrefslogtreecommitdiff
path: root/roles
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@fretlink.com>2018-11-21 19:12:36 +0100
committerIsmaël Bouya <ismael.bouya@fretlink.com>2018-11-21 19:12:36 +0100
commit25afbbb820e26ac4a372c3f1f2229582e5c15a2e (patch)
treea1282b8cd20a75a7c8dd97ab6c205a3c34fccbe3 /roles
parent9f528ac4c4ad219ce91f43d14a97401348f315f3 (diff)
downloadAnsible-25afbbb820e26ac4a372c3f1f2229582e5c15a2e.tar.gz
Ansible-25afbbb820e26ac4a372c3f1f2229582e5c15a2e.tar.zst
Ansible-25afbbb820e26ac4a372c3f1f2229582e5c15a2e.zip
Fine-tuning for realines (psql, bash)
Diffstat (limited to 'roles')
-rw-r--r--roles/shell/bash/files/inputrc1
-rw-r--r--roles/tools/files/psqlrc4
2 files changed, 5 insertions, 0 deletions
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
2# Readline configuration 2# Readline configuration
3# Can also be specified in bashrc with: bind "..." 3# Can also be specified in bashrc with: bind "..."
4set colored-completion-prefix on 4set colored-completion-prefix on
5set colored-stats on
5# TAB: menu-complete 6# TAB: menu-complete
6set show-all-if-ambiguous on 7set show-all-if-ambiguous on
7set show-all-if-unmodified on 8set 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 @@
2\set COMP_KEYWORD_CASE upper 2\set COMP_KEYWORD_CASE upper
3\x auto 3\x auto
4\set HISTSIZ -1 4\set HISTSIZ -1
5\set HISTCONTROL ignoreboth
6\set HISTFILE ~/.local/state/psql/psql_history- :DBNAME
5\set ECHO_HIDDEN on 7\set ECHO_HIDDEN on
8\set VERBOSITY verbose
9\set ECHO all