cd /news/developer-tools/oh-my-zsh-with-zsh-autosuggestions-z… · home topics developer-tools article
[ARTICLE · art-10143] src=gist.github.com ↗ pub= topic=developer-tools verified=true sentiment=· neutral

Oh my ZSH with zsh-autosuggestions zsh-syntax-highlighting zsh-fast-syntax-highlighting and zsh-autocomplete.md

The article provides instructions for installing and configuring Oh My Zsh with four plugins: zsh-autosuggestions, zsh-syntax-highlighting, zsh-fast-syntax-highlighting, and zsh-autocomplete. It includes commands for installing the plugins via git clone and modifying the `.zshrc` file to enable them. The author also notes that a newer, optimized 2026 version of the guide exists, which uses Zinit and Starship for faster shell startup.

read1 min views23 publishedAug 1, 2021

I’ve written a newer optimized 2026 version of this guide with a faster setup using Zinit + Starship and improved plugin .

This version avoids slow shell startups and works better with modern Zsh setups.

Updated guide: https://gist.github.com/n1snt/2cccc8aa5f7b645a7628d3512c70deb6

<p align="center"><img src="https://s3.amazonaws.com/ohmyzsh/oh-my-zsh-logo.png" alt="Oh My Zsh"></p>

Install ZSH. #

sudo apt install zsh-autosuggestions zsh-syntax-highlighting zsh

Install Oh my ZSH. #

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

Install plugins. #

  • autosuggesions plugin

    git clone https://github.com/zsh-users/zsh-autosuggestions.git $ZSH_CUSTOM/plugins/zsh-autosuggestions

  • zsh-syntax-highlighting plugin

    git clone https://github.com/zsh-users/zsh-syntax-highlighting.git $ZSH_CUSTOM/plugins/zsh-syntax-highlighting

  • zsh-fast-syntax-highlighting plugin

    git clone https://github.com/zdharma-continuum/fast-syntax-highlighting.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/plugins/fast-syntax-highlighting

  • zsh-autocomplete plugin

    git clone --depth 1 -- https://github.com/marlonrichert/zsh-autocomplete.git $ZSH_CUSTOM/plugins/zsh-autocomplete

Enable plugins by adding them to .zshrc. #

  • Open .zshrc

    nvim ~/.zshrc

  • Find the line which says plugins=(git).

  • Replace that line with plugins=(git zsh-autosuggestions zsh-syntax-highlighting fast-syntax-highlighting zsh-autocomplete)

References #

── more in #developer-tools 4 stories · sorted by recency
kortix.com · · #developer-tools
Kortix
── more on @oh my zsh 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/oh-my-zsh-with-zsh-a…] indexed:0 read:1min 2021-08-01 ·