Reputation: 115
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...).
Upvotes: 10
Views: 8329
Reputation: 11
The selected answer does not work for the Bash terminal in my text editor (Windows 10 Home 22H2). Adding this to ~/.bashrc
does the trick.
bind 'set bell-style none'
Upvotes: 1
Reputation: 266
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.
Upvotes: 25