Answers for "change default shell from zsh to bash"

2

convert back to sh from zsh

chsh -s /bin/bash
exec bash --login
Posted by: Guest on June-26-2020
0

zsh to bash mac

exec bash
Posted by: Guest on June-13-2020
1

set zsh as default shell

# Open vim or your favorite code editor
sudo vim ~/.bashrc

# Now we need to edit the file and add the following line to the end of the file remember to add a comment just to remember, what is that line of code task.
exec zsh

# It will execute the command every time you load the terminal and run your zsh shell.
Posted by: Guest on February-19-2021

Code answers related to "change default shell from zsh to bash"

Browse Popular Code Answers by Language