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

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

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


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