{"slug": "oh-my-zsh-with-zsh-autosuggestions-zsh-syntax-highlighting-zsh-fast-syntax-and", "title": "Oh my ZSH with zsh-autosuggestions zsh-syntax-highlighting zsh-fast-syntax-highlighting and zsh-autocomplete.md", "summary": "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.", "body_md": "# Note\n\nI’ve written a newer **optimized 2026 version** of this guide with a faster setup using **Zinit + Starship** and improved plugin loading.\n\nThis version avoids slow shell startups and works better with modern Zsh setups.\n\n**Updated guide:** https://gist.github.com/n1snt/2cccc8aa5f7b645a7628d3512c70deb6\n\n# Oh my zsh.\n<p align=\"center\"><img src=\"https://s3.amazonaws.com/ohmyzsh/oh-my-zsh-logo.png\" alt=\"Oh My Zsh\"></p>\n\n## Install ZSH.\n```\nsudo apt install zsh-autosuggestions zsh-syntax-highlighting zsh\n```\n\n## Install Oh my ZSH.\n```\nsh -c \"$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)\"\n```\n\n## Install plugins.\n - autosuggesions plugin\n \n\t`git clone https://github.com/zsh-users/zsh-autosuggestions.git $ZSH_CUSTOM/plugins/zsh-autosuggestions`\n\t\n - zsh-syntax-highlighting plugin\n \n\t`git clone https://github.com/zsh-users/zsh-syntax-highlighting.git $ZSH_CUSTOM/plugins/zsh-syntax-highlighting`\n\t\n - zsh-fast-syntax-highlighting plugin\n \n\t`git clone https://github.com/zdharma-continuum/fast-syntax-highlighting.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/plugins/fast-syntax-highlighting`\n\t\n - zsh-autocomplete plugin\n\t\n\t`git clone --depth 1 -- https://github.com/marlonrichert/zsh-autocomplete.git $ZSH_CUSTOM/plugins/zsh-autocomplete`\n\t\n## Enable plugins by adding them to .zshrc.\n - Open .zshrc\n\t\n\t`nvim ~/.zshrc`\n\t\n -  Find the line which says `plugins=(git)`.\n\t\n -  Replace that line with\n\t`plugins=(git zsh-autosuggestions zsh-syntax-highlighting fast-syntax-highlighting zsh-autocomplete)`\n\t\n## References\n\n - [Oh my ZSH](https://github.com/ohmyzsh/ohmyzsh)\n - [zsh-autosuggestions](https://github.com/zsh-users/zsh-autosuggestions)\n - [zsh-syntax-highlighting](https://github.com/zsh-users/zsh-syntax-highlighting)\n - [zsh-fast-syntax-highlighting](https://github.com/zdharma/fast-syntax-highlighting)\n - [zsh-autocomplete](https://github.com/marlonrichert/zsh-autocomplete)", "url": "https://wpnews.pro/news/oh-my-zsh-with-zsh-autosuggestions-zsh-syntax-highlighting-zsh-fast-syntax-and", "canonical_source": "https://gist.github.com/n1snt/454b879b8f0b7995740ae04c5fb5b7df", "published_at": "2021-08-01 07:20:58+00:00", "updated_at": "2026-05-22 22:05:40.879855+00:00", "lang": "en", "topics": ["developer-tools", "open-source"], "entities": ["Oh My Zsh", "zsh-autosuggestions", "zsh-syntax-highlighting", "zsh-fast-syntax-highlighting", "zsh-autocomplete", "Zinit", "Starship", "marlonrichert"], "alternates": {"html": "https://wpnews.pro/news/oh-my-zsh-with-zsh-autosuggestions-zsh-syntax-highlighting-zsh-fast-syntax-and", "markdown": "https://wpnews.pro/news/oh-my-zsh-with-zsh-autosuggestions-zsh-syntax-highlighting-zsh-fast-syntax-and.md", "text": "https://wpnews.pro/news/oh-my-zsh-with-zsh-autosuggestions-zsh-syntax-highlighting-zsh-fast-syntax-and.txt", "jsonld": "https://wpnews.pro/news/oh-my-zsh-with-zsh-autosuggestions-zsh-syntax-highlighting-zsh-fast-syntax-and.jsonld"}}