leave zsh return to bash code example Example: return to bash from zsh //Switch to bash: exec bash //Switch to zsh: exec zsh