Let's start by showing off my terminal.
That's why we're configuring the ITERM2+ZSH+OH-MY-ZSH environment:
We use the ZSH interpreter, and of course, when you use Zsh, you'll know the power of zsh versus bash.
As for our Git library color grading is because oh-my-zsh,oh-my-zsh has a lot of topics for us to choose, "Agnoster" This theme is very popular with programmers, of course, I use this theme. You can also set your favorite themes.
1.iterm2
ITerm 2 has a lot of features, Baidu tips endless, recommended to see this blog http://blog.csdn.net/thinkdiff/article/details/25075047
Installation:
Official website: http://www.iterm2.com/
2.zsh
Zsh is a self-brought Shell interpreter for UNIX systems and does not require us to install it, but of course we will set the default shell to Zsh
Chsh-s/usr/local/bin/zsh
3.oh-my-zsh
Installation:
wget Https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh-O-| Sh
Configuration:
(1), install Powerline fonts to support special characters
Https://github.com/powerline/fonts How to install the page with tips
When we install fonts successfully, we can find the font set in the Finder's font book
(2), set Iterm 2 support powerline Font
Open Iterm 2 Right click on Edit-select menu bar to set
Set up the character set for Iterm 2 according to the selection in the diagram
(3), ITerm 2 of the character set can also be modified after the completion of the Oh-my-zsh theme we selected.
Vim. ZSHRC Modify this configuration file
Zsh_theme= "Agnoster" setting theme is Agnoster
(4), now let us feel the strength of zsh.
Of course, if you don't like the subject, go here and take a look. http://ohmyz.sh/
Configuring the terminal environment for Mac Iterm2+zsh+oh-my-zsh