Finally, I got a new Air when I was doing activities in a certain east. I felt so cool when I looked at my friend’s MAC terminal, so I prepared myself to work together and work together. I googled and found iTerm2 terminal on OSX platform and Oh-my-zsh terminal which is used to replace Bash.

Install iTerm2

  1. First you need to download an iTerm2.
  2. How to install on OSX needless to say, directly copy.
  3. The installation is complete.

Oh – my – ZSH installation

Directly in iTerm2 input: sh -c “$(curl – fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)”.

Remember to install Git before executing it.

The installation is already complete, and the following is the content of the customization

Install the Powerline

Type directly in iTerm2:

sudo easy_install pip
pip install powerline-statusCopy the code

The installation is complete.

The installationFont library

After downloading the powerline fonts, run install.sh in the font library directory on your terminal to install the powerline fonts.

Sets the font for iTerm 2

After installing the Font library, set Regular Font and non-ASCII Font to Powerline from the Text TAB under the Profile TAB in iTerm 2 preferences. Just something with “for Powerline” at the end.

The installationThe color scheme

  1. To import the configuration file into iTerm 2, double-click Solarized Dark. Itermcolors and Solarized Light. Itermcolors.
  2. Select the color theme you just installed using the Load Presets.

    3.

    The installationagnosterThe theme

  3. Download it, unpack it, and then run the install file in a directory to install it~/.oh-my-zsh/themesdirectory

    2)cdSwitch to the user root directory, open the. ZSHRC file, and change the field after ZSH_THEME to agnoster. ZSH_THEME= “agnoster” like this.

Finally done!