Bash: Beep

From FVue
Jump to: navigation, search

Problem

I don't want to hear beeps when working in bash command-line.

Solution

Bash

Specify this in your ~/.bashrc:

setterm -blength 0
xset b off

Readline

Specify this in your ~/.inputrc:

    # No bell
set bell-style none

Vim

Specify this in your ~/.vimrc:

    " No visual bell
set vb t_vb=

X

Specify this in ~/.Xdefaults:

*alarm.visible: false

Comments

blog comments powered by Disqus