I just found out about fish shell a few moments ago. I switched Konsole on KDE to use it instead of bash and am impressed so far. Might install it on the Pihole eventually. Good stuff, just wanted to share. :)

  • Botzo@lemmy.world
    link
    fedilink
    English
    arrow-up
    11
    ·
    3 months ago

    If you ever copy paste commands you don’t understand (and aren’t prepared to take a detour down a rabbit hole to figure out why they didn’t work), stick with bash (or zsh).

    Fish isn’t “posix compliant” which can make some things work (or not) unexpectedly.

    Don’t get me wrong, it’s a great shell and there are many reasons people emulate its behaviors in other shells, but I can’t recommend it as a “newbie” or “casual user” choice.

    • Alphane Moon@lemmy.world
      link
      fedilink
      English
      arrow-up
      5
      arrow-down
      2
      ·
      3 months ago

      I most definitely copy and paste commands that I don’t understand. I even use LLMs to help write simple Bash scripts. :)

      I was just curious what the use cases are for this shell as I’ve only ever used Bash.

      • Botzo@lemmy.world
        link
        fedilink
        English
        arrow-up
        8
        ·
        3 months ago

        It’s a very user-friendly shell… except for the posix compliance.

        Everyone I know who (still) uses it daily accepts that they have to translate back and forth and still write scripts in bash (or sh).

        If you wanna give it a go, by all means. It’s just as easy to switch as to switch back. You can always drop into bash and try a command again too.

        • Victor@lemmy.world
          link
          fedilink
          English
          arrow-up
          2
          ·
          3 months ago

          I never have to write scripts in bash after having switched to fish. I just write all my scripts in fish. 🤷‍♂️