Hacker News new | ask | show | jobs
by michaelx386 4099 days ago
Would zsh still protect me if the script explicitly uses Bash (i.e. #!/bin/bash)? Sorry if this is a dumb question, I'm unsure how shells work when calling other kinds of shell scripts.
1 comments

No. If the script has the #! set as /bin/bash, then it will run as bash.