1 关闭蜂鸣
在/etc/bash.bashrc中加入下面的行:
setterm -blength=0
2 debian bash路径显示太长
将.bashrc中的
else
PS1='${debian_chroot: + ($debian_chroot)}\u@\h:\w\$'
fi
中的\w换成大写\W,保存,然后
source .bashrc
就ok了。
1 关闭蜂鸣
在/etc/bash.bashrc中加入下面的行:
setterm -blength=0
2 debian bash路径显示太长
将.bashrc中的
else
PS1='${debian_chroot: + ($debian_chroot)}\u@\h:\w\$'
fi
中的\w换成大写\W,保存,然后
source .bashrc
就ok了。
转载于:https://www.cnblogs.com/hustdc/p/7365450.html