comp426-2022-fall / a00

Install required software for COMP 426 and read an intro guide to Git and GitHub
0 stars 6 forks source link

RUNTIME ERROR: can't change SHELL to bin/bash (Mac) #13

Closed XimenaColopy closed 2 years ago

XimenaColopy commented 2 years ago

I am trying to change my shell from bin/zsh to bin/bash. "chsh -s /bin/bash" doesn't seem to be working.

Screen Shot 2022-08-22 at 4 35 42 PM

any ideas?

jdmar3 commented 2 years ago

What does which bash say?

luisdrg commented 2 years ago

Go to System Preferences > Users and Groups

On the bottom left you will see a lock icon that says "Click the lock to make changes" (You will need to input your password).

Now, press and hold the "control" key and click on your user. This will prompt "Advanced Options..." Click on that.

Find where it says "Login shell" and select "/bin/bash"

Finally, click "OK"

That should do the trick!!

EDIT: Found another method https://support.apple.com/en-hk/guide/terminal/trml113/mac