bash to zsh
i heard that zsh is cool. and it wasn’t difficult to change to zsh in mac os at all. so i decide to change my default shell
this one line is enough to change your default shell
chsh -s /bin/zsh
zsh and bash uses different prompt system, so be careful. and anything else is almost same.
this is my prompt in .zshrc, copied from .bashrc
export PS1=’[%m@%n %~]$ ‘
i’ve used this shell in some days, and finally got the conclusion that, this one’s better than bash, but not so definitively. and i found no reason to return to bash, i’ll use zsh for a while, i guess.
