bash
1.sudo vi /etc/inputrc
2.取消注释 set bell-style none
3.退出重启
zsh
1.sudo vi ~/.zshrc
2.文件末尾添加unsetopt beep
3.source ~/.zshrc
1.sudo vi /etc/inputrc
2.取消注释 set bell-style none
3.退出重启
1.sudo vi ~/.zshrc
2.文件末尾添加unsetopt beep
3.source ~/.zshrc
本文标题:禁用WSL的shell提示音
本文链接:https://www.haomeiwen.com/subject/nwloaftx.html
网友评论