1、X11 下面xset b off
2、对 Bash:
# has to go into /etc/inputrc or .inputrc
# It will not work in a .bashrc file!
set bell-style none
3、对 Tcsh:
# put this into your .tcshrc file
# just tab completion beep off:
set matchbeep = never
# any beep off:
set nobeep = 1
4、zsh 可以使用命令 "setopt nobeep nohistbeep nolistbeep"
阅读(819) | 评论(0) | 转发(0) |