Skip to content

Instantly share code, notes, and snippets.

@xuandinhgl
Last active April 26, 2022 09:27
Show Gist options
  • Save xuandinhgl/614ef807add650392a322eb2ec818b53 to your computer and use it in GitHub Desktop.
Save xuandinhgl/614ef807add650392a322eb2ec818b53 to your computer and use it in GitHub Desktop.
Install ZSH Ubuntu WSL Window terminal

Install zsh

sudo apt install zsh

Install oh my zsh

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

Active Agnoster theme

vi ~/.zshrc

Change robbyrussell to agnoster like image bellow. To save file, press esc, :wq

image

Install new font for Window terminal

  1. Download font from this repo https://github.com/powerline/fonts.git
  2. Extract the file and install the font you want in the respective folder. For example SourceCodePro
  3. Open the settings of Window terminal, select Ubuntu and select Appearance

image

  1. Select the installed font from the drop-down list

image

  1. Restart Windows terminal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment