Zsh is already a pleasure to use, but a handful of well-chosen plugins can turn it into a powerhouse. Below are three that I now consider indispensable on macOS; all install via Homebrew and take only a minute to wire up.
Real-time syntax feedback
zsh-syntax-highlighting underlines valid commands in green and flags unknown ones in red as you type. This instant feedback prevents typos before you hit Enter.
brew install zsh-syntax-highlighting
echo 'source $(brew --prefix)/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh' >> ~/.zshrc
exec zsh # reload shell
Inline history suggestions
zsh-autosuggestions pulls from your history and displays the most likely completion in muted gray. Accept it with → or keep typing to ignore.
brew install zsh-autosuggestions
echo 'source $(brew --prefix)/share/zsh-autosuggestions/zsh-autosuggestions.zsh' >> ~/.zshrc
exec zsh
Directory teleportation
autojump learns which folders you visit most. After a short learning phase, typing j partial-name will cd to best match.
brew install autojump
echo '[ -f $(brew --prefix)/etc/profile.d/autojump.sh ] && . $(brew --prefix)/etc/profile.d/autojump.sh' >> ~/.zshrc
exec zsh
One-shot project opener
Combine autojump with VS Code for a single command that both jumps to a project and opens it.
# ~/.zshrc
function cj() {
[[ -z $1 ]] && { echo "Usage: cj <project>"; return 1; }
j "$1" && code .
}
Now cj backend lands you in ~/work/backend with the editor already launched.