Using Microsoft Terminal? Let’s customize it with Oh My Zsh.

WSL is probably one of the better options for development on Windows systems actually. Let’s give a better look to the terminal.

Photo by Christopher Gower on Unsplash

What is WSL?

As Wikipedia says, Windows Subsystem for Linux (WSL) is a compatibility layer for running Linux binary executables (in ELF format) natively on Windows 10 and Windows Server 2019.

What is ZSH?

According to Wikipedia, The Z shell (Zsh) is a Unix shell that can be used as an interactive login shell and as a command interpreter for shell scripting. Zsh is an extended Bourne shell with many improvements, including some features of Bash, ksh, and tcsh.

1. Install the new Microsoft (Windows) Terminal

You can install it from the Microsoft Store or from the GitHub repository. I personally think that is easier if you install it directly from the Store. With just a few clicks, you will get your brand new terminal installed in your Windows.

2. Later, you must enable Windows Subsystem for Linux (WSL)

This step is easy. Just open your PowerShell with Admin privileges and write the following command to enable WSL:

3. Download Ubuntu for Windows

Do it directly from the Microsoft Store. Easy step.

4. Set up your Microsoft Terminal with Ubuntu

For that, I invite you to use these following setup:

"acrylicOpacity" : 0.5,
"closeOnExit" : true,
"colorScheme" : "Scope",
"commandline" : "wsl.exe -d Ubuntu",
"cursorColor" : "#39e5a7",
"cursorShape" : "bar",
"fontFace" : "Cascadia Code",
"fontSize" : 12,
"guid" : "{`your guid by default`}",
"historySize" : 9001,
"icon" : "`insert the url of your prefered icon`",
"name" : "WSL",
"padding" : "10, 10, 10, 10",
"snapOnInput" : true,
"startingDirectory" : "`insert your default folder (Dev, maybe?)`",
"useAcrylic" : false

5. Install Oh My Zsh plugin

For those who don’t know what is Oh My Zsh, it is an open source framework for Zsh. For me, is one of the best existing tools for consoles out there. Trust me, it is worth to try it.

6. Last step: insert the Scope color scheme

Why Scope? Scope is my company. In this case, I will add our color scheme, but you are free to use the colors that you like the most.

  1. Click in the arrow down, to the right of the tab.
  2. Click on Settings.
  3. A profiles.json file will be opened. Use the code editor you like most. I personally use VScode.
  4. Copy the following commands in the profiles section of the json file.
"background" : "#0d0d24",
"black" : "#000000",
"blue" : "#0d0d38",
"brightBlack" : "#767676",
"brightBlue" : "#00e0ff",
"brightCyan" : "#ffd48a",
"brightGreen" : "#39e5a7",
"brightPurple" : "#b4009e",
"brightRed" : "#fa547a",
"brightWhite" : "#ffffff",
"brightYellow" : "#ffd48a",
"cyan" : "#3a96dd",
"foreground" : "#ffffff",
"green" : "#bff7e9",
"name" : "Scope",
"purple" : "#881798",
"red" : "#fa547a",
"white" : "#39e5a7",
"yellow" : "#ffd48a"
  1. The importance of using good coding practices:

Product Manager at Previously