I'm trying to get ZSH as my default shell, I've installed using the installer from the oh-my-zsh project and it all installs fine, but I cannot change it to be the default shell:
When I echo $SHELL it gives "/bin/zsh",
However
ps -p $$seems to suggestbash(although I have seen this suggestzsheven when it isn't)I've also tried changing it in the Accounts → Advanced settings → Startup shell and in the Terminal preferences.
Using
chsh -s /bin/zshsays "No changes made..." i.e. it also thinkszshis in use.
I can switch to zsh manually by typing zsh or /bin/zsh, just can't change it to default and that is rather annoying.
Any ideas?
echo bash=${BASH_VERSION:-not running}, zsh=${ZSH_VERSION:-not running}to find out for sure what you're running. – Gordon Davisson Jul 16 '11 at 3:55id -Preport at the end of the line? Did you really installzshat/bin/zsh? Any chance you have something in a shell startup file that invokes bash? And, sorry to ask this, but did you know that changing your default shell will NOT automatically take effect in already-open Terminal windows? – Spiff Jul 16 '11 at 7:15