How do I reload .inputrc?
Become or hire the top 3% of the developers on Toptal https://topt.al/25cXVn
--
Music by Eric Matyas
https://www.soundimage.org
Track title: Puzzle Game 2
--
Chapters
00:00 Question
00:33 Accepted answer (Score 93)
00:51 Answer 2 (Score 92)
01:28 Answer 3 (Score 25)
01:43 Answer 4 (Score 13)
02:05 Thank you
--
Full question
https://superuser.com/questions/241187/h...
Question links:
[readline]: http://en.wikipedia.org/wiki/GNU_readlin...
Accepted answer links:
[Bash Reference Manual]: http://www.gnu.org/software/bash/manual/...
Answer 3 links:
https://unix.stackexchange.com/questions...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#bash #unix #readline #inputrc
#avk47
--
Music by Eric Matyas
https://www.soundimage.org
Track title: Puzzle Game 2
--
Chapters
00:00 Question
00:33 Accepted answer (Score 93)
00:51 Answer 2 (Score 92)
01:28 Answer 3 (Score 25)
01:43 Answer 4 (Score 13)
02:05 Thank you
--
Full question
https://superuser.com/questions/241187/h...
Question links:
[readline]: http://en.wikipedia.org/wiki/GNU_readlin...
Accepted answer links:
[Bash Reference Manual]: http://www.gnu.org/software/bash/manual/...
Answer 3 links:
https://unix.stackexchange.com/questions...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#bash #unix #readline #inputrc
#avk47
ACCEPTED ANSWER
Score 97
By default, C-x C-r
is bound to re-read-init-file
.
See the Bash Reference Manual for explanation.
ANSWER 2
Score 96
You can also reload new entries from command line using bind -f ~/.inputrc
. That will load the entries in .inputrc. Note that it just does a load, not a "reload" - so it doesn't reset any lines you happen to have removed from the .inputrc.
To quickly test from a clean slate, just run bash
then work inside that new nested shell (or start a new terminal).
ANSWER 3
Score 27
This worked for me
bind -f ~/.inputrc
https://unix.stackexchange.com/questions/153357/inputrc-file-not-sourcing-correctly/246422#246422
ANSWER 4
Score 13
In .inputrc first choose your binding and after bind the re-read-init-file
function:
set editing-mode vi
"\C-x\C-r": re-read-init-file
Press CTRL and x, release both, press CTRL and r.