Best Oh My ZSH Plugins for 2026

A practical list of Oh My Zsh plugins that actually improve your terminal workflow.

Best Oh My ZSH Plugins for 2026

Oh My ZSH plugins add command suggestions, syntax highlighting, and shortcuts that speed up your terminal work.

If you spend any real time in the terminal, the right plugins make a noticeable difference. Here are the ones I actually use and recommend.

Installation and Setup Guide

Getting Oh My ZSH running with plugins takes a few minutes:

Installing Oh My ZSH

First, install Oh My ZSH using this simple command:

sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

The script handles the setup. Your terminal restarts with a new prompt when it finishes.

Installing Plugins

Most plugins need to be installed manually before you can use them. Here’s how:

For custom plugins (like autosuggestions):

# Navigate to the plugins directory
cd ~/.oh-my-zsh/custom/plugins

# Clone the plugin repository
git clone https://github.com/zsh-users/zsh-autosuggestions

For built-in plugins: These come pre-installed with Oh My ZSH and just need to be enabled.

Enabling Plugins

Once installed, you need to activate plugins in your configuration file:

  1. Open your .zshrc file:
nano ~/.zshrc
  1. Find the plugins line and add your desired plugins:
plugins=(git npm node zsh-autosuggestions zsh-syntax-highlighting)
  1. Save the file and reload your terminal:
source ~/.zshrc

Quick Tip

Run source ~/.zshrc after changes to apply them without restarting.

Essential Oh My ZSH Plugins

Core Productivity Plugins

1. zsh-autosuggestions

  • What it does: Suggests commands as you type based on your history
  • Installation: git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
  • Key benefit: Press → (right arrow) to accept suggestions and save time on repetitive commands
  • Tutorial: How to Enable Command Autocomplete in ZSH

2. zsh-syntax-highlighting

  • What it does: Colors your commands as you type, showing errors in real-time
  • Installation: git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
  • Key benefit: Red highlighting for invalid commands, green for valid ones
  • Tutorial: How to Enable Syntax Highlighting in Zsh

3. z

  • What it does: Navigate to frequently used directories instantly without typing full paths
  • Installation: Built-in with Oh My ZSH
  • Usage: z documents jumps to ~/Documents, z proj jumps to ~/Projects
  • Key benefit: Learns your most visited directories and provides smart shortcuts

4. git

  • What it does: Provides shortcuts and aliases for Git operations
  • Installation: Built-in with Oh My ZSH
  • Popular aliases: gst (git status), gco (git checkout), gaa (git add —all), gcm (git commit -m)
  • Key benefit: Speeds up common Git workflows dramatically

5. history-substring-search

  • What it does: Search command history by typing partial strings
  • Installation: Built-in with Oh My ZSH
  • Usage: Type part of a command, then use ↑/↓ to cycle through matches
  • Key benefit: Find previous commands without endless scrolling

Development and DevOps Plugins

6. docker

  • What it does: Adds autocompletion and aliases for Docker commands
  • Installation: Built-in with Oh My ZSH
  • Features: Command completion, shortcuts for common operations
  • Key benefit: Type less when working with containers

7. docker-compose

  • What it does: Autocompletion for multi-container Docker setups
  • Installation: Built-in with Oh My ZSH
  • Key benefit: Tab completion catches typos before they break your stack

8. npm

  • What it does: Auto-completion and aliases for npm
  • Installation: Built-in with Oh My ZSH
  • Features: Shows npm version and package name in prompt
  • Key benefit: Faster package management

9. kubectl

  • What it does: Kubernetes CLI completion and shortcuts
  • Installation: Built-in with Oh My ZSH
  • Features: Auto-completion and aliases for kubectl commands
  • Key benefit: Less typing when managing clusters

10. aws

  • What it does: AWS CLI completion and profile management
  • Installation: Built-in with Oh My ZSH
  • Features: Completions for awscli and profile switching utilities
  • Key benefit: Easier AWS resource management

Utility and Convenience Plugins

11. web-search

  • What it does: Search the web directly from your terminal
  • Installation: Built-in with Oh My ZSH
  • Usage: google "search term", bing "query", duckduckgo "topic"
  • Key benefit: Quick web searches without leaving the terminal

12. extract

  • What it does: Extract compressed files with a single command
  • Installation: Built-in with Oh My ZSH
  • Supported formats: ZIP, TAR, GZ, BZ2, 7Z, RAR, DMG, and more
  • Usage: extract filename.zip or extract archive.tar.gz
  • Key benefit: No need to remember different extraction commands

13. 1password

  • What it does: Integrates 1Password functionality with terminal
  • Installation: git clone https://github.com/agpenton/1password-zsh-plugin.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/1password
  • Usage: opswd service-name copies password to clipboard
  • Key benefit: Secure password access without leaving terminal

14. sudo

  • What it does: Adds sudo to commands with keyboard shortcut
  • Installation: Built-in with Oh My ZSH
  • Usage: Press ESC twice to prefix current command with sudo
  • Key benefit: Perfect for those “permission denied” moments

15. colored-man-pages

  • What it does: Adds colors to man pages for better readability
  • Installation: Built-in with Oh My ZSH
  • Key benefit: Makes documentation easier to read and scan

Advanced Plugins

16. fzf

  • What it does: Fuzzy finder for files and command history
  • Installation: git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf && ~/.fzf/install
  • Key shortcuts: Ctrl+T (find files), Ctrl+R (search history), Alt+C (change directory)
  • Key benefit: Interactive searching with fuzzy matching

17. thefuck

  • What it does: Corrects mistyped commands
  • Installation: Built-in with Oh My ZSH (requires thefuck to be installed)
  • Usage: Type fuck or press Ctrl+G after a failed command
  • Key benefit: Fixes typos without retyping

18. virtualenv

  • What it does: Manages Python virtual environments
  • Installation: Built-in with Oh My ZSH
  • Features: Auto-activation when entering project directories, prompt indicators
  • Key benefit: Handles Python environments without manual activation

19. fast-syntax-highlighting

  • What it does: Faster syntax highlighting with more themes
  • Installation: git clone https://github.com/zdharma-continuum/fast-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/fast-syntax-highlighting
  • Advantages: Lower latency, switchable themes, better command parsing
  • Key benefit: Drop-in replacement for zsh-syntax-highlighting with better performance

20. zsh-autocomplete

  • What it does: Real-time autocompletion as you type
  • Installation: git clone --depth 1 -- https://github.com/marlonrichert/zsh-autocomplete.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autocomplete
  • Features: Real-time completion, intuitive keybindings
  • Key benefit: IDE-like completion in your terminal

21. alias-finder

  • What it does: Shows available aliases when you type full commands
  • Installation: Built-in with Oh My ZSH
  • Usage: Type a command and it tells you if there’s a shorter alias
  • Key benefit: Learn your aliases naturally through usage

22. copypath

  • What it does: Copies current directory path to clipboard
  • Installation: Built-in with Oh My ZSH
  • Usage: Run copypath to copy current path
  • Key benefit: One command instead of pwd | pbcopy

Bonus Plugins

Other useful plugins worth considering:

Tip

Combine history-substring-search with zsh-autosuggestions for better command recall.

Plugin Installation Methods

Step-by-step process:

  1. Navigate to the custom plugins directory
  2. Clone the plugin repository
  3. Add plugin name to your .zshrc file
  4. Reload your configuration

Example:

cd ~/.oh-my-zsh/custom/plugins
git clone https://github.com/plugin-author/plugin-name
nano ~/.zshrc  # Add plugin to plugins list
source ~/.zshrc

Using Homebrew (macOS): Some plugins can be installed via Homebrew for easier management.

brew install zsh-autosuggestions
brew install zsh-syntax-highlighting

Configuration: Add the source lines to your .zshrc:

source /opt/homebrew/share/zsh-autosuggestions/zsh-autosuggestions.zsh
source /opt/homebrew/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh

Tips

Getting started:

  • Start with 5-10 plugins and add more as needed
  • Test new plugins in a separate terminal first
  • Remove plugins you don’t use

Performance:

  • 10-15 plugins is a reasonable limit
  • If startup feels slow, disable plugins one by one to find the cause

Performance

Too many plugins slow down terminal startup. Keep only what you actually use.

Troubleshooting:

  • Plugin not working? Check if it’s in your plugins list
  • Conflicts happen. Try disabling other plugins to isolate the issue

Modern Alternatives

The ZSH ecosystem has more options now:

Starship A blazing-fast, cross-shell prompt written in Rust. Works with any shell and provides consistent theming.

Installation:

brew install starship
# Add to .zshrc: eval "$(starship init zsh)"

For more you can check Starship Setup With Ghostty

Powerlevel10k Currently on life support but still functional. Known for its speed and extensive customization options.

Why consider these:

  • Cross-shell compatibility
  • Better performance
  • Modern config formats

Modern Plugin Managers:

  • Zinit: Fast with turbo mode for lazy loading
  • Antidote: Lightweight, fast startup
  • Sheldon: Written in Rust

Why switch:

  • Faster startup times
  • Better dependency management
  • Lazy loading support

Note

Oh My ZSH works fine for most users. Consider alternatives if startup time bothers you.

Explore Oh My ZSH Plugins

Conclusion

Start with autosuggestions and syntax highlighting. Those two alone make a noticeable difference. Add more plugins as you need them.

Don’t install everything at once. Try a plugin, use it for a week, and decide if it actually helps. Some plugins sound useful but end up unused.

The official Oh My ZSH plugin repository has hundreds more options if you want to explore further.

If you’re curious about Fish Shell as an alternative to Zsh, check out Fish Shell vs Zsh or Fish Shell vs Bash vs Zsh for a full comparison. Fish has many of these features built in without plugins.