Tuesday, January 22, 2019

readline - How do I reload .inputrc using a bash script?


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


Answer



Use the bind command:


bind -f ~/.inputrc

See help bind for more information:


-f  filename       Read key bindings from FILENAME.

No comments:

Post a Comment

hard drive - Leaving bad sectors in unformatted partition?

Laptop was acting really weird, and copy and seek times were really slow, so I decided to scan the hard drive surface. I have a couple hundr...