Disable enter key in bash
Well this is very straightforward, we just need to unbind keybinding for
"\r".Thats easily done using bind.
Now to get the binding back i used.
"\r".Thats easily done using bind.
bind -r '\r'
Now to get the binding back i used.
bind '"\r":accept-line'Obviously i had to hit Ctrl-J instead of "Enter" :).
0 Comments:
Post a Comment
<< Home