10

I have liked the bash shell that ships default with elementary OS very much. But I would like to change to zsh that is a superset of bash. But I have not found a great guide to switch to zsh or how to install it and use it.

I do have found a few bash install instructions but I don't know if they will work fine. Do I need something else?

3
  • I would suggest oh my zsh, super awesome framework for zsh. ;)
    – ounos
    Commented Jul 27, 2015 at 18:01
  • The install instructions you mention are for oh-my-zsh, not for zsh. Commented Jul 27, 2015 at 19:57
  • After installing zsh you can also add the following line to your .zshrc file: builtin . /usr/share/pantheon-terminal/enable-zsh-completion-notifications || builtin true So that the pop up notifications still work when applications finish in the terminal.
    – zlalanne
    Commented Aug 17, 2015 at 16:58

2 Answers 2

13
  1. Run this: sudo apt-get install zsh
  2. Verify where zsh is by typing whereis zsh.
  3. Run chsh and it'll ask you to type in your password and to enter the new value. If you've verified that zsh is available on /bin/zsh, type it in.

Warning: Be very careful when typing the path, as an invalid path given to chsh could cause a lot of problems.

enter image description here

Final step: Re-login

8

I switched yesterday to zsh, all I had to do, was

sudo apt-get install zsh
chsh -s $(which zsh)

Close all your terminals afterwards and you are done.
You can customize your shell further with Oh My Zsh.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.