摘要:
参见:http://www.linuxfocus.org/ChineseGB/May2004/article335.shtml 使用 shell 的颜色 下面我用一个提示符的例子来解释 shell 的颜色。 ~/.bashrc: PS1="\[\033[0;32;40m\u@\h:\w\$ \]" 这样提示符就全部显示成绿色了。就像这样: nico@ebrain:~$ \033 声明了转义序列... 阅读全文
posted @ 2010-11-30 10:55 logogcn 阅读(416) 评论(0) 推荐(0) 编辑