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:
Ah - silence again! That's one less distraction to contend with!