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

This post is from 2020-09-03.

  • Thaurin@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 年前

    Try fish with the tide plugin and the fzf plugin. I can never go back to anything else.

      • Thaurin@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 年前

        Why is that? You can still use bash to interpret your bash scripts. Where does it annoy you?

        • samsy@feddit.de
          link
          fedilink
          English
          arrow-up
          0
          ·
          1 年前

          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
            1
            ·
            edit-2
            1 年前

            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
            
              • Thaurin@lemmy.world
                link
                fedilink
                English
                arrow-up
                1
                ·
                edit-2
                1 年前

                Huh. It’s the first thing I write in any script. It actually saves me time. What annoys me is a script that doesn’t have a hash bang. :)

            • Zucca@sopuli.xyz
              link
              fedilink
              English
              arrow-up
              1
              ·
              1 年前

              #!/usr/bin/env bash for compability. 😉

              For example on my system bash is in /bin.

              • Thaurin@lemmy.world
                link
                fedilink
                English
                arrow-up
                1
                ·
                1 年前

                Right, of course. I already do that with Python scripts, but with bash old habits die hard, I guess. :)