I'm currently using Bash on Windows 10 in my Visual Studio Code. The bell ring is extremely annoying and I would like a good solution to disable it (other that turning the volume off or not making any mistakes...).
Run this in your windows bash shell:
echo "set bell-style none" >> ~/.inputrc
or edit .inputrc
manually, then add set bell-style none
, and restart your open bash shell to take effect.