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