1. Install zsh
1
| sudo yum install -y zsh
|
2. Install oh-my-zsh
1
| sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
|
It is recommended to set Zsh as the default shell.
3. Install Plugins
3.1 Install autojump
1
| sudo yum install -y epel-release
|
1
| sudo yum install -y autojump-zsh
|
3.2 Install zsh-autosuggestions
1
| git clone git://github.com/zsh-users/zsh-autosuggestions $ZSH_CUSTOM/plugins/zsh-autosuggestions
|
3.3 Install zsh-syntax-highlighting
1
| git clone git://github.com/zsh-users/zsh-syntax-highlighting $ZSH_CUSTOM/plugins/zsh-syntax-highlighting
|
4. Add the .zshrc Configuration
1
| sed -i 's/^plugins=(\(.*\)/plugins=(autojump zsh-autosuggestions zsh-syntax-highlighting \1/' ~/.zshrc
|
Exit the terminal and log in again for it to take effect.