- clone zsh-autosuggestion in custom plugins location
git clone https://github.com/zsh-users/zsh-autosuggestions.git $ZSH_CUSTOM/plugins/zsh-autosuggestions
(optional) if you want syntax highlighting like fish shell. clone zsh-syntax-highlighting to custom plugins location.
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git $ZSH_CUSTOM/plugins/zsh-syntax-highlighting
auto completion
git clone https://github.com/zsh-users/zsh-completions.git $ZSH_CUSTOM/plugins/zsh-completions
- Update ~/.zshrc with the custom plugins you just cloned in the previous steps. from
plugins=(git)
to
plugins=(git zsh-autosuggestions zsh-syntax-highlighting)
thanks