I recently made some edits to my
~\.bashrc file in my Ubuntu 18.03 VM. Apparently I messed them up somehow because now whenever I start Terminal pressing Control + L to clear the screen does not work. I found a workaround by using this command:
bind -x '"\C-l": clear'
However, obviously I’d like to fix the underlying cause of the issue instead of just issuing a command as a symptomatic fix every time. How could I do that? For security reasons I cannot post the full output of my
~\.bashrc file but I will post any specific parts requested.
Alternatively I can simply restore my
.bak version of
~.\bashrc, but for my own edification I would really like to know where I went wrong with this.