debian配置集锦

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了。

posted @ 2017-08-15 15:41  PhoenixTree(梧桐树)  阅读(153)  评论(0编辑  收藏  举报