标签: bash visual-studio windows-10
我目前在Visual Studio代码中使用Windows 10上的Bash。铃声是非常烦人的,我想要一个很好的解决方案来禁用它(其他的是关闭音量或不犯任何错误......)。
答案 0 :(得分:4)
在windows bash shell中运行:
echo "set bell-style none" >> ~/.inputrc
或编辑.inputrc,然后添加set bell-style none,然后重新启动打开的bash shell即可生效。
.inputrc
set bell-style none