You’ll see why you don’t need your own terminal first.

Install iTerm2

Download and install the same as ordinary software.

Download the address iterm2.com/.

Install and configure oH-my-Zsh

This installation needs to be based on Xcode, there is no Xcode installed in the App Store first, Xcode is a bit big (6.1g), it will take a while.

via curl

sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
Copy the code

via wget

sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
Copy the code

After the installation is complete, restart iTerm2 to see the effect.

This is the default theme, looks not too neng high (zhuang) big (BI) on the theme can be modified. All the topics are here. Choose the ones you like.

Modify the theme

The input terminal

open ~/.zshrc
Copy the code

The configuration file will then open

ZSH_THEME is the theme configuration, I changed it to ys, the default should be robbyrussell, after the change save restart iTerm2 OK.

Feel the theme of YS