Making Powerline Work in Visual Studio Code Terminal

The integrated terminal of VScode will show garbled words if zsh is installed but PowerLine font is not set. In order to fix this problem:

  1. One of the patched fonts from Vim-Powerline for the special characters. (if you don’t have any one.)

  2. In your User Settings (Code | Preferences | Settings) add this:

{
"terminal.integrated.fontFamily": "Hack",
}
Linyuan Shi
Linyuan Shi
Lecturer

My research interests include non-equilibrium reactive molecular dynamics simulation and first principles computation.