MacOS terminal tools and the use of iterm2

Iterm2 you can go to download, the interface is pretty good,
is a good alternative to the MAC terminal

Oh my Zsh is a plug-in inside the terminal. After installing the Zsh, the terminal’s directory structure is more clear, and the files and folders will be distinguished in different colors. And most importantly, when you do version control with Git, Zsh adds the current branch name of the git at the end of the project name. It’s cool to use. The following to introduce the installation of zsh:

First, the preparatory work:
1. in the application to find -> other -> terminal:

MacOS terminal tools and the use of iterm2

After
2. opens, the following effects:

MacOS terminal tools and the use of iterm2
Paste_Image.png

The first line shows the last login time, and the second line where you draw the red line is the user name you entered when you activate the computer.
3., the white background doesn’t look very comfortable. Let’s turn him into a black background. This is a hacker color. It seems to be very tall. Open terminal preferences:

MacOS terminal tools and the use of iterm2

then click on the second description file, select Homebrew, and then click default when the selection is complete. After selecting this, I usually hook up the smooth text, change the font and font size, and I change the Monaco font 14. As shown in Figure:

MacOS terminal tools and the use of iterm2

after the completion of the exit terminal, and then re open, and then you can see the tall Homebrew theme color, suddenly feeling forced Glygoyle with wood:

MacOS terminal tools and the use of iterm2

Two, officially install oh my zsh:

  1. This is oh my Zsh’s GitHub address: https://github.com/robbyrussell/oh-my-zsh, we are interested, you can go in and see.
    2. in a terminal and enter the following command:
    curl -L https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh sh
    MacOS terminal tools and the use of iterm2

    | after the input end enter to start the installation, enter the computer password required during installation, pay attention to the command line input password is not displayed, so please do not think that there is no input, after installation you will see consists of many characters the oh my Zsh “, as shown below: MacOS terminal tools and the use of iterm2

    after the installation is complete and open the exit terminal will see your name position has become” ~ “, is not looks very simple, such as:
    MacOS terminal tools and the use of iterm2

    3. oh my zsh:
    uninstall At the command line, enter the following command to enter:
    uninstall_oh_my_zsh