Changing my shell to zsh
- Check if I have zsh installed
1
2
3
4
$ which zsh
/usr/bin/zsh
- Verify current logged-in user
1
2
3
$ whoami
testing
- Change shell for current logged-in user to zsh
1
2
3
$ sudo chsh -s $(which zsh) $(whoami)
1
2
3
4
$ which zsh
/usr/bin/zsh
1
2
3
$ whoami
testing
1
2
3
$ sudo chsh -s $(which zsh) $(whoami)