fix init.sh to work in zsh and bash