First of all need to install the oh my ZSH, according to the following steps: 1, the git clone git://github.com/robbyrussell/oh-my-zsh.git ~ /. Oh – my – ZSH

2, cp ~/.zshrc ~/.zshrc.orig

3, cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc

4. CHSH -s /bin/zsh

Edit ZSH_THEME=”ys” in the ~/.zshrc file to configure a theme. The theme type can be viewed in the ~/.oh-my-zsh/themes directory:

5, vi ~ /. ZSHRC

You can also configure environment variables in ~/. ZSHRC: export ANDROID_HOME=$HOME/Library/Android/ SDK

Save the modification and take effect

6, the source ~ /. ZSHRC