Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do you disable the bell sound in Bash on Windows?

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...).

like image 938
CptBB Avatar asked Oct 15 '17 15:10

CptBB


1 Answers

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.

like image 162
zR_ Avatar answered Oct 13 '22 19:10

zR_