Default interactive shell on Mac (compiling)

I have followed everything up until 5 mins into lecture 14 (Your First Program). I’m on mac and think i must have a setting wrong or downloaded something in the wrong place…? When I open the terminal I get:

The default interactive shell is now zsh.
To update your account to use zsh, please run chsh -s /bin/zsh.
For more details, please visit https://support.apple.com/kb/HT208050

at the top of the terminal above the file name. Any ideas on how to change this?

zsh is just a different shell, the default used to be bash.

You can change that in your settings to use zsh instead of bash

How to update visual studio code’s default terminal shell from bash to zsh | by Oluebube Princess Egbuna | Facebook Developer Circles Lagos | Medium

has this worked?
Screenshot 2022-02-05 at 13.17.08

Yes. The program exits as soon as it starts so there’s nothing observable.

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.