bell-style none
INPUTRC
~/.inputrc
/etc/inputrc
找到.bash_profile文件的位置,并将以下内容输入该文件:
.bash_profile
setterm -blength 0
这将设置蜂鸣声响起的时间为0,因此不会出现蜂鸣声。
bell-style none
吗?这个文件可以是1.INPUTRC
环境变量,2.~/.inputrc
或者3./etc/inputrc
。 - Benjamin W.~/.inputrc
文件,或者INPUTRC
指向其他位置,那么/etc/inputrc
将被忽略。请问您是否有~/.inputrc
文件,或者INPUTRC
指向其他位置? - Benjamin W.