MAC system Installation Oh my zsh

Source: Internet
Author: User

Let's take a look at the first picture:

Install Oh my zsh:

1. Clone this project locally (provided you have Git installed)

git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh

2. Create a zsh configuration file. Note: If you already have a ~/.ZSHRC file, it is recommended that you do a backup first. Use the following command

CP ~/.ZSHRC ~/.zshrc.orig

Then start creating the zsh configuration file

CP ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.ZSHRC

3. Set Zsh as your default shell

Chsh-s/bin/zsh

4. Restart and start using your zsh (open a new terminal window to ...)

At this point, you are done.

To change the zsh theme:

1. Edit ~/.ZSHRC

2, modify Zsh_theme= "Ys"

Note: The theme file is in the ~/.oh-my-zsh/themes directory

The more beautiful is the following topic: Agnoster

Just modify ~/.ZSHRC as follows: Zsh_theme= "Agnoster"

After switching to a new terminal, garbled characters may appear. Solution:

CD ~/.oh-my-zsh/themesgit Checkout D6a36b1 agnoster.zsh-theme

Note: After switching to this topic, it may become a bit of a card, so choose your own preference.

MAC system Installation Oh my zsh

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.