Setup WSL on Windows [Part 2]

Huzaifa Arif
GAMMASTACK
Published in
8 min readJun 8, 2020

--

If you haven’t read Part 1 of the series or don’t have WSL installed yet please read that first, I’ll be waiting for you here!

Photo by Kreeson Naraidoo on Unsplash

Now that we’ve already setup the basic Ubuntu terminal on WSL it looks, well, pretty darn unpleasant. There are a couple of things which look pretty out of place the most obvious ones are the default fonts and the directory colors, yuk!

So let’s start customizing it to make it look as sleek as possible.

Installing Oh My Zsh!

Well most of you must be familiar with the Z shell already. If you haven’t heard about it this is a shell replacement for bash which comes with handy plugins to ease our most common workflows, custom aliases and pretty themes.

  • Install Z shell:
sudo apt install zsh
  • Make it your default shell:
chsh -s $(which zsh)
  • Install Oh My Zsh:
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

Now restart your Ubuntu shell to be greeted with the Oh My Zsh terminal.

You can change the theme to your liking by editing the ~/.zshrc file:

nano ~/.zshrc# Find and change this…

--

--