If you have been playing around with bash for some time you must have changed the file .inputrc sometime. I have changed it several times mostly for Del key and auto-completion trick. However every time I change it I have to logout of bash for it to take effect. Here are two different ways to do the same without logging out of the shell.
- Keyboard shortcut : Ctrl+x followed by Ctrl+r
- Script : bind -f ~/.inputrc
Hope this helped you."\e[1~": beginning-of-line # home
"\e[3~": delete-char # delete
"\e[4~": end-of-line # end
"\e[5~": history-search-backward # page-up
"\e[6~": history-search-forward # page-down
No comments:
Post a Comment
I'd love to hear from you !