The terminal bell sound generated in bash and vim is rather annoying to myself and is an audible alert to my colleagues that I'm typing badly too. So how does one disable it?
Open ~/.inputrc and add the following line:
set bell-style none
To disable the bell in the vim editor, edit ~/.vimrc and add the following line:
set vb
Ah - silence again! That's one less distraction to contend with!
setterm -blength 0
ReplyDeletexset b off
OR
unplug-the-speaker-in-a-desktop-when-none-is-looking
You can tell I hate those beeps, can't you?