How do I convert inputrc settings to bashrc ones?
According to what I have in my
.bashrc you need something like
bind '"\e[6~": history-search-forward'
For anyone else searching, this works for all
inputrc commands: just wrap them in quotes, shove a
bind in front, and you're good (make sure you have different types of quotes if the actual
inputrc command itself requires quotes).
For example, an
inputrc could have
# makes tab-completion *immediately* return multiple options, set show-all-if-ambiguous on # bind C-d to go forword, not crush the shell "\C-d": shell-forward-word
To put those in your
bashrc, it's just
bind "set show-all-if-ambiguous on" bind '"\C-d": shell-forward-word'