How do I change my default shell to use ZSH in Ubuntu? [duplicate]
Solution 1:
Use
chsh -s $(which zsh)
Unlike adduser
or useradd
or editing /etc/passwd
, this will allow you to change your shell without having root rights.
Use
chsh -s $(which zsh)
Unlike adduser
or useradd
or editing /etc/passwd
, this will allow you to change your shell without having root rights.