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

Having an efficient and powerful development environment setup is important to boost the productivity and bring out the best while writing code, debugging, building etc so that we can focus more on creating something valuable and less on just trying to make things work. In this article as well as more to follow, we will see how a basic shell setup can help us in that direction. I have done these steps on Ubuntu WSL in Windows 10. For native ubuntu setup, you just need to see how to setup powerline font for ubuntu(prerequisite), rest all the steps will be same.


Download and install powerline fonts for windows using this tutorial


For quick setup, just execute the below commands 1 by 1 in the ubuntu shell to setup zsh and oh-my-zsh. In future articles, we will build tmux, vim (and possibly other tools) on top of this add power to this setup.

zsh and oh-my-zsh setup steps

Setting up zsh and oh-my-zsh

Clone the repo which contains theme for zsh

git clone
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" #select option 'y'git clone ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestionsgit clone ${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