I’m moving my posts from Reddit to Lemmy before delete them.

This post is from 2020-09-03.

  • samsy@feddit.de
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 year ago

    I have to switch to bash first, and wonder days later, why I can’t find it (obviously) in my fish history.

    • Thaurin@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      edit-2
      1 year ago

      I mean, doesn’t the script have a hash bang pointing to the bash interpreter?

      #!/usr/bin/bash
      

      Or you can just run it like:

      bash script.sh