Yeah, I would agree that setting zsh as default shell would be a bad idea, it's here just for example purposes.
On the other hand, I've already encountered an issue when I've set shebang to be /bin/sh and after googling for a while I've found that preferred shell for scripts should be bash as basically bash is sh, but with more features and better syntax.
So, I would say that:
Yeah, I would agree that setting
zshas default shell would be a bad idea, it's here just for example purposes.On the other hand, I've already encountered an issue when I've set shebang to be
/bin/shand after googling for a while I've found that preferred shell for scripts should bebashas basically bash is sh, but with more features and better syntax.So, I would say that:
is maybe a better solution.
source