Skip to content

Instantly share code, notes, and snippets.

@caffeinetiger
Last active April 18, 2022 16:54
Show Gist options
  • Save caffeinetiger/cd7dc952751f3d9fa60ab5bedbc6bf07 to your computer and use it in GitHub Desktop.
Save caffeinetiger/cd7dc952751f3d9fa60ab5bedbc6bf07 to your computer and use it in GitHub Desktop.

Configure Powerline and default terminal for Visual Studio Code

Setting default terminal

  1. Open Visual Studio Code
  2. Press CTRL + SHIFT + P to open the Command Palette
  3. Search for “Terminal: Select Default Profile”
  4. Select your preferred shell. In my case I selected “WLinux (WSL)”

Configuring Powerline fonts for integrated terminal

  1. Open Visual Studio Code
  2. Press CTRL + SHIFT + P to open the Command Palette
  3. Search for "Preferences: Open Settings (JSON)"
  4. Add the following to your settings with your perferred Powerline font. In my case this was "Cousine for Powerline"
{
  "terminal.integrated.fontFamily": "Cousine for Powerline",
}

References

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