I am new to ubuntu and when I recently tried to execute a command in the terminal and pushed the "b" key , it typed "set" and then started to spam "show-all-if-amset". 

[![enter image description here](https://i.stack.imgur.com/95lZS.png)](https://i.stack.imgur.com/95lZS.png)

How can I solve this?

Edit: On second look,it just types "set show-all-if-am", still don't know what it means though... 

Edit 2: This happens in the visual code terminal as well.

Edit 3: This seems to be a problem with bash, the same issue doesn't happen with dash or sh.