paint-brush
Customize Oh My Zsh with Syntax Highlighting and Auto-Suggestionsby@soniasingla
40,596 reads
40,596 reads

Customize Oh My Zsh with Syntax Highlighting and Auto-Suggestions

by Sonia Singla
Sonia Singla HackerNoon profile picture

Sonia Singla

@soniasingla

I love to travel, teach, and speak about open...

November 23rd, 2020
Read on Terminal Reader
Read this story in a terminal
Print this story
Read this story w/o Javascript
Read this story w/o Javascript

Too Long; Didn't Read

Customize Oh My Zsh with Syntax Highlighting and Auto-Suggestions. How to quickly install plugins for Oh-My-Zsh using Curl:.curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh. Use Curl to create a custom-made shell for OhMyZsh. Using Curl, open the terminal to reconfigure the settings and Voila!

Company Mentioned

Mention Thumbnail
Different
featured image - Customize Oh My Zsh with Syntax Highlighting and Auto-Suggestions
1x
Read by Dr. One voice-avatar

Listen to this story

Sonia Singla HackerNoon profile picture
Sonia Singla

Sonia Singla

@soniasingla

I love to travel, teach, and speak about open source 👩🏻‍💻

Learn More
LEARN MORE ABOUT @SONIASINGLA'S
EXPERTISE AND PLACE ON THE INTERNET.

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 https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
NOTE:
ZSH
and
OhMyZsh
both are different.

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

Install zsh-autosuggestions by running:

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

Install zsh-syntax-highlighting by running:

git clone https://github.com/zsh-users/zsh-syntax-highlighting.git $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! 🎉

Previously published here.

L O A D I N G
. . . comments & more!

About Author

Sonia Singla HackerNoon profile picture
Sonia Singla@soniasingla
I love to travel, teach, and speak about open source 👩🏻‍💻

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
Coffee-web
Wuyuansheng
Bizatweb
Hashnode
Learnrepo
Hashnode
X REMOVE AD