]> git.immae.eu Git - perso/Immae/Config/Ansible.git/commitdiff
Fine-tuning for realines (psql, bash)
authorIsmaël Bouya <ismael.bouya@fretlink.com>
Wed, 21 Nov 2018 18:12:36 +0000 (19:12 +0100)
committerIsmaël Bouya <ismael.bouya@fretlink.com>
Wed, 21 Nov 2018 18:12:36 +0000 (19:12 +0100)
roles/shell/bash/files/inputrc
roles/tools/files/psqlrc

index 111f8dd486c14404fd5d6a58962ef093a86561b5..628f2a10b06abb8cb87fe321fd2895bd60f07d13 100644 (file)
@@ -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
index c51f46e1a03c906b2e86ce27f09e62d2c660596b..25ba7d268344222ebda71e276ac43c1bb40a6926 100644 (file)
@@ -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