11 2012 档案

摘要:修改.bashrc文件。第56行:if [ "colorprompt"=yes];thenPS1={debian_chroot:+(debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ 'else PS1='{debian_chroot:+($debian_chroot)}\e[1;32m\u@\h:\w$ 'fi高亮的部分就是添加的。但是,这样有一个问题:比如,输入sudo apt-get update的 阅读全文
posted @ 2012-11-07 10:14 Jason Sun 阅读(1103) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示