Simple yet awesome zsh+ oh-my-zsh development environment setup

Prerequisite

TLDR

zsh and oh-my-zsh setup steps

Setting up zsh and oh-my-zsh

git clone https://github.com/aviralwal/newserversetup.git
cd newserversetup
sudo apt update
sudo apt install -y zsh
sudo chsh -s $(which zsh) $(whoami)
touch ~/.zshrc
echo "#hello" > ~/.zshrc
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" #select option 'y'git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestionsgit clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlightingsed -i 's/plugins=(git)/plugins=(git zsh-autosuggestions zsh-syntax-highlighting)/g' ~/.zshrcecho ‘export TERM=”xterm-256color”’ >> ~/.zshrc
source ~/.zshrc
cp bullet-train.zsh-theme ~/.oh-my-zsh/themessed -i 's/ZSH_THEME="robbyrussell"/ZSH_THEME="bullet-train"/g' ~/.zshrcsource ~/.zshrc

--

--

--

https://genericfornow.com/

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Deploying a Flask App to AWS Elastic Beanstalk

Overview of TMT Core Ecosystem

Basics Of Kubernetes Architecture

What is a Cloud-Native Application? Why Should We Develop One?

My Experience at DeveloperWeek 2021

DeveloperWeek badge

How to Export Phone Numbers from any WhatsApp Group

Announcing the Release of Dash Platform v0.12 on Evonet

Managing your Chainge profile in the blink of an eye

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Aviral Agrawal

Aviral Agrawal

https://genericfornow.com/

More from Medium

How to move the cursor word by word in the OS X

My minimalist shell setup — Bash in Terminal and Zsh in iTerm2

Which macOS terminal should you use?

The Best Application for Command Line To-Do List Management