readline

GNU Readline line-editing for bash, psql, python & more — ~/.inputrc.

.inputrc
 

How to use it

  1. Save the generated file as ~/.inputrc
  2. It affects every program that uses readline (bash, python, psql, gdb, …).
  3. Reload in bash without restarting: press Ctrl-x Ctrl-r.