Skip to content

⬛ Windows Terminal + 🐧 WSL2 + zsh + Powerlevel10K

Notifications You must be signed in to change notification settings

edinc/terminal-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Windows Terminal with WSL2 and zsh

The new Windows Terminal has a lot of new capabilities, like multiple tabs, panes, Unicode and UTF-8 character support, a GPU accelerated text rendering engine and much more. Combined with WSL2, zsh shell and powerlevel10k brings the terminal experience to a whole new level.

Windows Terminal WSL2

Installation and configuration

  1. Install WSL2
  2. Install Windows Terminal

I used a modified version of the One Half Dark color scheme. For my complete configuration check the settings.json file.

  1. Install oh-my-zsh

Once Windows Terminal is installed run

sudo apt-get install zsh

To install oh-my-zsh run

sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

Restart the terminal for the changes to take effect

  1. Install Meslo Nerd Font

  2. Install and configure Powerlevel10k

Powerlevel10k is a theme for zsh with loads of customizations. To install it run

git clone --depth=1 https://github.com/romkatv/powerlevel10k.git $ZSH_CUSTOM/themes/powerlevel10k

Edit ~/.zshrc and change ZSH_THEME to

ZSH_THEME="powerlevel10k/powerlevel10k"

To get the same look like in my screenshots simply copy the content of my .zshrc and .p10k.zsh files.

For a completely new configuration run the wizard

p10k configure

Screenshots

Horizontal split pane with PowerShell

Powershell

WSL2, PowerShell and PowerShell Core all in one terminal

Powershell Core

Questions

Please use GitHub issues or contact me on twitter @ecenanovic

About

⬛ Windows Terminal + 🐧 WSL2 + zsh + Powerlevel10K

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages