diff options
author | Ismaël Bouya <ismael.bouya@fretlink.com> | 2018-11-21 19:12:36 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@fretlink.com> | 2018-11-21 19:12:36 +0100 |
commit | 25afbbb820e26ac4a372c3f1f2229582e5c15a2e (patch) | |
tree | a1282b8cd20a75a7c8dd97ab6c205a3c34fccbe3 | |
parent | 9f528ac4c4ad219ce91f43d14a97401348f315f3 (diff) | |
download | Ansible-25afbbb820e26ac4a372c3f1f2229582e5c15a2e.tar.gz Ansible-25afbbb820e26ac4a372c3f1f2229582e5c15a2e.tar.zst Ansible-25afbbb820e26ac4a372c3f1f2229582e5c15a2e.zip |
Fine-tuning for realines (psql, bash)
-rw-r--r-- | roles/shell/bash/files/inputrc | 1 | ||||
-rw-r--r-- | roles/tools/files/psqlrc | 4 |
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 "..." |
4 | set colored-completion-prefix on | 4 | set colored-completion-prefix on |
5 | set colored-stats on | ||
5 | # TAB: menu-complete | 6 | # TAB: menu-complete |
6 | set show-all-if-ambiguous on | 7 | set show-all-if-ambiguous on |
7 | set show-all-if-unmodified on | 8 | 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 @@ | |||
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 | ||