• JackbyDev@programming.dev
      link
      fedilink
      English
      arrow-up
      0
      ·
      9 days ago

      Have you run into a specific problem or is this just a hypothetical you’re worried about. I see this a lot but haven’t ever actually run into it being a concern. If you run a script with #!/bin/sh from a Fish shell, it won’t use Fish, it will use whatever you have sh pointing to. (Which shouldn’t be Fish, it’s usually bash or dash.)

      • Mwa@thelemmy.club
        link
        fedilink
        English
        arrow-up
        0
        ·
        9 days ago

        I ran into issues on fish,i don’t remember what they are but I think it’s no shebang