Sonia Singla

How to customize Oh My Zsh with Auto-Suggestions and Syntax Highlighting?

October 6, 2020 • ☕️ 1 min read


[Img src:]

As a developer, we spend a lot of time working on the terminal and having personalized shell makes the working environment perfect, decreases frustration and also, increases productivity.

In this blog, we will discuss how to quickly install plugins Auto-Suggestions and Syntax Highlighting in the oh-my-zsh theme.

Install Oh-My-Zsh using Curl:

sh -c "$(curl -fsSL"

NOTE: ZSH and OhMyZsh both are different.

Let’s take a look how to install plugins, and configure Zsh:

Install zsh-autosuggestions by running:

git clone $ZSH_CUSTOM/plugins/zsh-autosuggestions

Install zsh-syntax-highlighting by running:

git clone $ZSH_CUSTOM/plugins/zsh-syntax-highlighting

Now, open .zshrc file with your favourite editor:

nano ~/.zshrc

And simply add zsh-autosuggestions & zsh-syntax-highlighting to plugins() section, it will do the magic for you:

plugins=(git zsh-autosuggestions zsh-syntax-highlighting)

Reopen terminal to reconfigure the settings and Voila! 🎉

Relative Posts:

Git - Tracking method/function history

January 8, 2021

Hi 👋🏻, My name is Sonia, studying Information Technology from Panjab University, India. I am an Open Source enthusiast and passionate about about browsers, web-compatibility, developer tooling and developer communities. Recently, I finished my internship with Embark Studios on a new platform for gamemaking. I was the CNCF 2020 Intern at Thanos, and spent the winter of 2019 working with web-compatibility team of Mozilla as an Outreachy Intern. I also love to travel, teach, and speak about open source 👩🏻‍💻