IMO, you should:
-
Always define which shell you want to use with a "shebang" such as
#!/usr/bin/env zsh -f. -
Anticipate a day in which
bashis no longer installed at/bin/bash(or at all) and use#!/usr/bin/env bashas the shebang if you have a bash-specific script. That way if you addbashvia Homebrew and it ends up at/usr/local/bin/bashthen yourbashscript can still work. -
Migrate to
zshwhenever possible because it will continue to be installed by default even ifbashis not.