switch back from zsh to bash code example
Example 1: convert back to sh from zsh
chsh -s /bin/bash
exec bash --login
Example 2: change bash to zsh
chsh -s $(which zsh)
chsh -s /bin/bash
exec bash --login
chsh -s $(which zsh)