How do I turn the beep slash bell off in cygwin?

Viewed 11921

The system beep/bell happens frequently (ie, when I type a few letters then type tab to autocomplete when there are a few options).

How can I turn this off?

I googled it and tried:

set bell-style none (the command went through but nothing changed)

and

setterm -blength 0 (got a bash command not found)

Thanks!

7 Answers

An alternative solution that doesn't seem to be mentioned here is:

  1. Right click on the header of the Cygwin window and chose Options...:

enter image description here

  1. In the options menu, under the Terminal tab, choose "no beep":

enter image description here

This should take effect immediately without having to restart Cygwin.

Path to '.inputrc:

'C:\cygwin64\home\<username>\.inputrc
Related