Configure Visual Studio Code Integrated Terminal to use Oh My Zsh
I couldn’t find a straightforward answer to this after searching around, but it really was easy.
I’m using Linux Mint 17.2 with Cinnamon, so YMMV.
After doing this and confirming things looked good in the terminal, I realized Visual Studio Code is still using the bash shell. I want it to use Oh My Zsh.
If you haven’t worked with Visual Studio Code settings, check out the documentation here for an overview.
In Visual Studo Code, go to File -> Preferences -> Settings to open the settings view.
The main thing you want to do is add this to the User Settings:
In order to have the correct fonts for the Bullet Train theme, my settings look like this:
// Place your settings in this file to overwrite the default settings
// The path of the shell that the terminal uses on Linux.
// Controls the font family of the terminal, this defaults to editor.fontFamily's value.
"terminal.integrated.fontFamily": "Inconsolata-g for Powerline",
So now when I open the terminal in Visual Studio Code, it looks like this!
Unfortunately, it seems the integrated terminal color scheme is fixed, or at least I haven’t found a way to apply a new color scheme. If someone figures it out, let me know!