Answers for "how to make zsh the default shell"

4

how to set zsh as default

chsh -s $(which zsh)
Posted by: Guest on March-24-2021
0

set zsh as default shell

chsh -s /bin/zsh
Posted by: Guest on September-08-2021
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 "how to make zsh the default shell"

Browse Popular Code Answers by Language