Oh yeah, I wouldn’t use that for scripts. I wouldn’t use zsh for scripts either.
I mean, I believe, it’s generally compatible with bash, but just throwing a shebang like #!/bin/sh or #!/bin/bash into the first line of the script will make it execute with sh or bash, even when you run it from zsh.
Oh yeah, I wouldn’t use that for scripts. I wouldn’t use
zshfor scripts either.I mean, I believe, it’s generally compatible with
bash, but just throwing a shebang like#!/bin/shor#!/bin/bashinto the first line of the script will make it execute withshorbash, even when you run it fromzsh.