PDA

View Full Version : How to make zsh your default shell for PF's Terminal


ape
Jan 09, 2007, 07:26 AM
Whenever I open the shell drawer, the session is always launched with the 'Bash' session. I've created a second session that launches zsh (my preferred shell). I've tried naming this second session 'Default', but it still doesn't launch automatically when the shell drawer is opened.

Another interesting side effect to this issue is that if I delete the 'Bash' session, it will magically reappear next time I start PathFinder.

What am I missing in regards to being able to make a shell session other than the 'Bash' session and make it the default for whenever the shell drawer?

Thanks,

--ape--

neilio
Jan 09, 2007, 11:42 PM
You have to change the default shell for you user in NetInfo Manager. Launch NetInfo Manager, click on users, click on your name. unlock the application by entering an admin username / password, and then double-click on the stuff beside "shell" and change it to the path to zsh.

Click on another name in the upper pane to force a save, apply the changes, and that should be it.

ape
Jan 10, 2007, 07:28 AM
Neilio,

Thanks! That did the trick!

Did I miss this in the documentation somewhere?

--ape--

quicksketch
Mar 24, 2009, 07:33 PM
In Leopard (10.5) the NetInfo Manager has been removed. You can do the same thing by using the "chsh" command, which will open up a textfile in your terminal editor. Then change the line for "Shell" from "Shell: /bin/bash" to "Shell: /bin/zsh".

dekekincaid
Apr 14, 2009, 05:26 PM
In Leopard (10.5) the NetInfo Manager has been removed. You can do the same thing by using the "chsh" command, which will open up a textfile in your terminal editor. Then change the line for "Shell" from "Shell: /bin/bash" to "Shell: /bin/zsh".Even easier, in the "accounts" system preference, just right click on your account name and select "advanced options". This will bring up a window which will let you pick the default shell along with a few other unix account things which you don't want to touch unless you know what your doing.