海王  
11 2012 档案
  • ubuntu控制台没有颜色
    摘要:在~/.bashrc中追加:PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ 'PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1"# enable color support of ls and also add handy aliasesif [ -x /usr/bin/dircolors ]; then test -r ~ 阅读全文
    posted @ 2012-11-05 16:56 海王 阅读(2092) 评论(0) 推荐(0) 编辑