How to use zsh in VS Code for Mac

Today I will show you how to use .zsh in VS Code terminal.

First of all, you need to install .zsh. Follow the instructions here:

robbyrussell / oh-my-zsh

A delightful community-driven (with 1,100+ contributors) framework for managing your zsh configuration. Includes 200+ optional plugins (rails, git, OSX, hub, capistrano, brew, ant, php, python, etc), over 140 themes to spice up your morning, and an auto-update tool so that makes it easy to keep up with the latest updates from the community.

Oh My Zsh

Oh My Zsh is an open source, community-driven framework for managing your zsh configuration.

Sounds boring. Let's try again.

Oh My Zsh will not make you a 10x developer...but you might feel like one.

Once installed, your terminal shell will become the talk of the town or your money back! With each keystroke in your command prompt, you'll take advantage of the hundreds of powerful plugins and beautiful themes. Strangers will come up to you in cafés and ask you, "that is amazing! are you some sort of genius?"

Finally, you'll begin to get the sort of attention that you have always felt you deserved. ...or maybe you'll use the time that you're saving to start flossing more often. 😬

To learn more, visit ohmyz.sh and follow @ohmyzsh on Twitter.

Getting Started

Prerequisites

Disclaimer: Oh My Zsh works best on macOS and Linux.


  • Unix-like operating system (macOS or Linux)

  • Zsh


Then open the settings pane of VS Code and find this property: "terminal.integrated.shell.osx". Tap on the edit button and set the value to "zsh"

Now you have zsh in your VS Code

Did you find this post useful? Show some love!
DISCUSSION (2)

JFYI, VS Code detected automatically my ZSH. I guess it does if you install VS Code after you have ZSH enabled for your user? Idk

I've had installed ZSH before VS Code but it didn't work for some reason.

Classic DEV Post from Jun 21

I'm visiting dev.to more & more every day 😍

I've noticed that I'm beginning to visit dev.to more than social-media or almos...

READ POST
Follow @benfaught to see more of their posts in your feed.
Nikolay Yanev
Member since Jun 12, 2018
Trending on dev.to
Let's talk about the new CoC for Linux
#discuss #linux #opensource
Soft Skills: The software developer's life manual - Book review
#productivity #bookreview #learning #career
Software People — How Do You Deal With Stress/Bullies/Frustration?
#life #software #stress #discuss
​Linus Torvalds takes a break from Linux
#linux #opensource #foss #discuss
What's your opinion on Coding Bootcamps?
#discuss #beginners #javascript #webdev
Live coding streams recommendations?
#discuss #livecoding #backend #devops
A gift for new devs
#beginners #career
How did you decide on what you wanted to do?
#career #advice #discuss