Allow changing the shell from bash to others


#1

It would be nice to be able to choose a shell other than bash. I prefer Fish, many others like zsh.

It would be good to have both per-project options, where all terminals in project x open zsh, and a user-default, where my new projects default to Fish, but can be overridden on a per-project basis.


#2

one way to do this is to add zsh or fish call at the end of .bashrc


#3

The “oh-my-zsh” install script will do this write to .bashrc for you if it has permissions when you run it:

  • sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

#4

I actually cannot install zsh … am I doing something wrong?

martinblaha:~/workspace (master) $ which zsh
martinblaha:~/workspace (master) $ sudo apt-get install zsh
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package zsh

#5

Try updating apt first.

sudo apt-get update


#6

That was is! Thanks, BigChief45