If it's a Linux system, first you need to install Zsh
sudo Yum Install zsh or sudo Install zsh
Next we need to download the OH-MY-ZSH project to help us configure zsh
wget Automatic Installation
wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh-o-| sh
When you install OH-MY-ZSH, it automatically reads your environment variables and automatically sets them up for zsh.
So the zsh is basically configured to complete, you need a line of command to switch to ZSH mode.
Chsh-s/usr/local/bin/zsh
After the oh-my-zsh is installed, it is configured in the user directory under the. Oh-my-zsh Directory
The zsh configuration file is also in the user directory. ZSHRC hidden files
Editing a configuration file
Nano. ZSHRC
Each line has a # number in front of the configuration, and if you want the configuration to take effect, remove the #号即可.
Reference: HTTP://WWW.JIANSHU.COM/P/43B7E6F069F9
Install oh-my-zsh under Linux