ubuntu设置个性化命令行提示符

在 ~/.bashrc的最后一行加入

export PS1="\e[32;40m\u@\w> \e[0m"


posted @ 2009-11-21 22:49  刀刀  阅读(373)  评论(0编辑  收藏  举报