git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc chsh -s /bin/zsh
Linux下的 ls --color=auto
命令,实际上是根据两个文件来显示颜色的,/etc/DIR_COLORS
或者 ~/.dir_colors,
一个是系统级别的配置文件,一个用户级别的配置文件。git
git clone git://github.com/seebi/dircolors-solarized.git cp ./dircolors.256dark ~/.dir_colors
因为个人GNOME Terminal 2.31.3支持256colors,所以使用dircolors.256darkgithub
在~/.zshrc中加入:
export TERM=xterm-256colorspa