Changing your default shell in OS X

So I’ve been spending time playing with the UNIX parts of OS X. After spending a few minutes pulling my hair out due to chsh not working I took matters into my own hands. I use GLTerm instead of the default term application that came with OS X. After you “fink install bash” you can change the default shell in GLTerm’s preferencers to “/sw/bin/bash”. Then you’ll want to edit your .bashrc (note: “ln -s .bashrc .bash_profile” once yo uare done editing) and add PATH=$PATH:/sw/bin. You might want to modify your prompt as well. PS1=”[u@h w]n[W] $ ” worked well for me. Hope this helps someone.

Leave a Reply

Your email address will not be published. Required fields are marked *