• Ephera@lemmy.ml
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 day ago

    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.