ZSH enable you to use plugin and it will supercharge your productivity and terminal experience by 10X.
In this article, we will be adding another 2 plugin for our ZSH:
- Auto Suggestion
- Syntax Highlighting
Auto Suggestion
- Clone the plugin repo to a directory(
~/.zsh/zsh-autosuggestions
).1
git clone https://github.com/zsh-users/zsh-autosuggestions.git ~/.zsh/zsh-autosuggestions
- Autostart the plugin when the terminal is launching.
1
echo 'source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh' >> ~/.zshrc
- Reload the terminal with new changes.
1
source ~/.zshrc
Syntax Highlighting
- Clone the plugin repo to a directory(
~/.zsh/zsh-autosuggestions
).1
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ~/.zsh/zsh-syntax-highlighting
- Autostart the plugin when the terminal is launching.
1
echo 'source ~/.zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh' >> ~/.zshrc
- Reload the terminal with new changes.
1
source ~/.zshrc