Mac OS X : properly change shell when using zsh from darwinports/macports

Posted by Antonin AMAND Wed, 06 Sep 2006 20:01:00 GMT

If like me you use a up to date zsh shell under Mac OS X installed via DarwinPorts (which change name to MacPorts) you may want to set it as your default shell.

To do this in a proper way (not by changing it in Terminal.app Preferences) you should proceed as following.

$ sudo vi /etc/shells
# add the following line : 
/opt/local/bin/zsh
$chsh
# and change /bin/bash to /opt/local/bin/zsh
Trackbacks

Use the following link to trackback from your own site:
http://blog.gwikzone.org/trackbacks?article_id=mac-os-x-properly-change-shell-when-using-zsh-from-darwinports-macports&day=06&month=09&year=2006

Comments

Leave a comment

Comments