DO 安装zsh - aispin/mamboer.github.io GitHub Wiki
https://www.centosblog.com/spice-up-your-centos-shell-part-1-zsh/
- How to install ZSH
To install ZSH on your server, you will need to enable the EPEL repo first. Install ZSH with the following command:
1 yum install zsh [separator]
- How to use ZSH
Before switching to ZSH as your default shell, I would recommend testing it from your current shell first. ZSH can be invoked on-demand by entering the following command:
1 zsh If you want to enable ZSH as your default shell, you can run the following command, changing to the username you wish to set it for:
1 usermod -s /bin/zsh Familiarize yourself with auto-correct and command-line completion. Depending on what you want, ZSH can be utilized further, for example, you may want to enable additional modules. To see the list of additional modules included with ZSH, enter the following command:
1 man zshmodules Have fun with you new shell! In Part 2 of this series, we will be installing oh-my-zshell, a community-driven framework for managing your zsh configuration, themes and has additional plugins to improve ZSH even further.