1、前置校验
cat /etc/shells
brew install zsh
chsh -s /bin/zsh
chsh -s /bin/bash
2、安装 ob-my-zsh
wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | sh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh
cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc
uninstall_oh_my_zsh zsh
~/.zshrc
3、安装 Powerline
pip show powerline-status
pip install --user powerline-status
sudo easy_install pip
4、设置字体
cd ~/Desktop/OpenSource
git clone https://github.com/powerline/fonts.git --depth=1
cd fonts
./install.sh
5、设置配色方案
6、安装 oh-my-zsh 主题
cd ~/Desktop/OpenSource
git clone https://github.com/fcamblor/oh-my-zsh-agnoster-fcamblor.git
cd oh-my-zsh-agnoster-fcamblor/
./install
vi ~/.zshrc
7、安装插件
cd zsh-plugins
git clone git://github.com/zsh-users/zsh-syntax-highlighting.git
vim .zshrc
source ~/zsh-pludins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
cd ~/.oh-my-zsh/custom/plugins
vim .zshrc
plugins=(zsh-syntax-highlighting)
cd zsh-plugins
http://mimosa-pudica.net/src/incr-0.2.zsh
vim .zshrc
source ~/.oh-my-zsh/plugins/incr/incr*.zsh