Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This question explains how to reload .inputrc using C-x C-r. But how would one reload it using commands in a bash script?

share|improve this question
up vote 33 down vote accepted

Use the bind command:

bind -f ~/.inputrc

See help bind for more information:

-f  filename       Read key bindings from FILENAME.
share|improve this answer
1  
This doesn't unbind removed entries. – Sparhawk Oct 18 '15 at 2:52

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.