Configuring the terminal environment for Mac Iterm2+zsh+oh-my-zsh

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.