I used to create a simple .inputrc
in my users directory and add the following:
"e[A": history-search-backward
"e[B": history-search-forward
"e[C": forward-char
"e[D": backward-char
reload bash
exec bash -l
And then be easily able to traverse the bash history with the arrow keys.
Now in ubuntu 18 the same does not work.. i don't know if it is not reading the inputrc file or something else.. anyone else had the same issue and found a resolution?
i also tried from this answer ~/.inputrc file not sourcing correctly
bind -f ~/.inputrc
But this still is not working for me.. :/