zsh与oh-my-zsh
文章目录
zsh 介绍 http://foocoder.com/blog/wo-zai-yong-de-macruan-jian-2.html/
安装 zsh 与 oh-my-zsh
brew install zsh
curl -L https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh | sh
修改/etc/shells,添加/usr/local/bin/zsh
更改默认 shell 为 zsh
chsh -s /usr/local/bin/zsh
配置 iTerm2 的主题与字体
iTerm2 主页http://www.iterm2.com/
iTerm2 Solarized主题https://github.com/altercation/solarized/tree/master/iterm2-colors-solarized
在此我们使用 Solarized Dark主题,OMZ 里有一个与之配合的主题agnoster,修改~/.zshrc
export ZSH_THEME="agnoster"
DEFAULT_USER="xilaideng"
zsh powerline 主题
https://github.com/jeremyFreeAgent/oh-my-zsh-powerline-theme
https://github.com/milkbikis/powerline-shell
zsh主题列表https://github.com/robbyrussell/oh-my-zsh/wiki/themes
下载 zsh agnoster theme 所需要的字体
文章作者 josephpei
上次更新 2013-09-15