• Ephera@lemmy.ml
    link
    fedilink
    arrow-up
    5
    ·
    3 months ago

    @Dionysus@leminal.space found out that it’s a feature in fish shell, which I can confirm.

    • muhyb@programming.dev
      link
      fedilink
      arrow-up
      3
      ·
      3 months ago

      Thanks. I think I should check out fish soon, I keep seeing it a lot lately and it seems to be made for lazy people like me. :)

      • moopet@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        2
        ·
        3 months ago

        Fish has a bunch or weirdness if you’re used to other shells for things like substitution, and shortcuts like $_ don’t work afaik.

        • muhyb@programming.dev
          link
          fedilink
          arrow-up
          1
          ·
          3 months ago

          Huh, I checked and noticed that fish is non-POSIX. I guess I’ll just stick to zsh but I still want to check fish to see what’s all this about.

          • moopet@sh.itjust.works
            link
            fedilink
            English
            arrow-up
            2
            ·
            3 months ago

            Yeah, I tried it for a bit. It gives you coloured autocompletes for things in your history but you accept them with right-arrow rather than tab as well, which is a weird choice, and ctrl-r is still faster. It’s very much a day-to-day user’s experience rather than a scripting shell, I think people stick with others in their shebangs.