103
28
Background
I have heard that the readline module is reading ~/.inputrc
and that is how it changes the behaviour of keystrokes under programs such as bash.
Question
How can I reload this after editing to see the changed behaviour without restarting my terminal program?
Simply restart Bash. – Kusalananda – 2016-06-20T14:16:14.877
@Kusalananda, it seems that you have not read the question properly "How can I reload this after editing to see the changed behaviour without restarting my terminal program?" – Captain Lepton – 2016-06-21T09:19:44.330
1@CaptainLepton I saw that. The terminal is not the same as the shell. Doing
exec bash
in a Bash session will replace the current shell session with a new Bash session.xterm
is a terminal. – Kusalananda – 2016-06-21T09:22:27.4901@Kusalananda Thanks for the clarification. That is a good idea. Would you perhaps describe running > exec bash as running a new shell in the current terminal rather than restarting bash, as you are replacing your previous executable? – Captain Lepton – 2016-06-21T13:25:30.030
1Yes, there is no way of "restarting" the current shell session. This is one way of doing it. Using the solution that @maxelost gave is another. – Kusalananda – 2016-06-21T13:36:30.563
8Background (not wrong). – Paused until further notice. – 2011-02-03T16:03:13.450
Is there a way to call Readline to reload the history? Like
xmonad ----recompile && xmonad --restart
for reloading XMonad? – Ehtesh Choudhury – 2012-04-19T00:56:13.6003
I came here looking for how to load .inputrc with a command. http://superuser.com/q/419670/56544
– dfrankow – 2013-02-22T17:23:25.350