Use
chsh -s $(which zsh)(or whatever shell want to use as default)
Don’t use sudo since it will change root’s shell.
And need to logout and login again.
Use
chsh -s $(which zsh)(or whatever shell want to use as default)
Don’t use sudo since it will change root’s shell.
And need to logout and login again.