I have updated my ~/.inputrc file to test out show-all-if-unmodified, and now want to try it out. How do I use it without logging off and back in?

  • bind -f ~/.inputrc
    – user313992
    Aug 9, 2019 at 13:55
  • Hm. I accidentally did . ~/.inputrc before asking this question, and now readline seems to have stopped working. Weird. Thanks for your answer though, please make it an answer so it can be accepted. Aug 9, 2019 at 14:02

1 Answer 1


You can use readline's re-read-init-file command, which is typically accessed theough C-x C-r (that's a Control-X, followed by a separate Control-R), if you use the "emacs" keybindings, which are the default. Note that this works in other readline users that are not bash (for example, the Python interpreter in interactive mode.)

If you use "vi" mode, this command has no keybinding by default, so you might consider adding a keybinding for it, if you consider it useful.

Otherwise, in bash, you can use [the bind built-in] to reconfigure readline. You can re-read your "inputrc" using the following command in bash:

$ bind -f ~/.inputrc

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .