Use ZSH Shell as Integrated Terminal in Visual Studio Code

I have migrated to ZSH shell long ago, and never looked back. It was weird when I opened up and saw the normal shell in VS Code.

It took me a while to figure it out, but it was as simple as this one line change in the settings.

"": "/bin/zsh"


1. Find the setting

Open up VS Code Settings, then search for, or depending on your platform.

2. Copy it over to User Settings

Note: Make sure you have User Settings selected. Workspace Settings only apply to the current folder or project. Whereas User Settings will change the default behaviour everywhere.

After searching the above string, you should see the filtered list showing the relevant settings. If you hover over the line then there’s a pencil (edit) button. Click on the button and select copy to settings.

3. Update the setting

After copying it over, change /bin/sh to /bin/zsh or whatever shell you prefer to use.