Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

bash

cygwin

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!

like image 461
Breck Avatar asked Nov 13 '09 20:11

Breck


People also ask

How do I turn off Terminal beeping?

The simplest way to turn off this noise quickly is by editing the /etc/inputrc file. You can use nano or your preferred text editor to open the file with root permissions. In this file, you should see the bell-style directives, which will need to be edited. Specifically, uncomment the following line.


1 Answers

Add set bell-style none to .inputrc in your home directory. You need to start a new shell for this to take effect; that may be why your test didn't work.

like image 191
Emerick Rogul Avatar answered Sep 21 '22 11:09

Emerick Rogul