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

On Ways To Agree, Part 1: DistSys Vocabulary

Alibaba Summer Of Code’19

Understanding Java Sockets

Developing For The Developers

ECom Express Case Study — Software Architecture

Workday | HR Tech Guide

The Gorilla Guide to Serverless on Kubernetes — Chapter 5: Why Run Serverless on Kubernetes?

Project progress 20.08.2021

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

Customise your zsh terminal and prompt in MacOS!

Integrate Monika with Opsgenie using API Integrations

Examine the Reassuringly Robust Flexibility and Extensibility of Symfony Security

July 2022: VSCode extension, custom project names and 7000 GitHub stars!