Fork me on GitHub

Ubuntu的人性化配置

1、更改Ubuntu命令行提示符颜色,在~/.bashrc中添加如下命令行:

PS1='${debian_chroot:+($debian_chroot)}\[\033[01;31m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$'

 

posted @ 2014-04-27 15:54  晨光iABC  阅读(179)  评论(0编辑  收藏  举报