What’s your favourite to use? Mine is Fish due to its ease of use and user friendly approach.

Bash is the pepperoni of shell tools being reliable in every field no matter what but I’ve moved to Fish as I wanted to try something different.

So what’s your shell of choice?

  • Sonotsugipaa@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    6
    ·
    9 days ago

    Zsh, because unlike Bash using arrays in Zsh doesn’t make me want to perform percussive maintenance on the nearest Von-Neumann machine

    • palordrolap@kbin.run
      link
      fedilink
      arrow-up
      4
      ·
      9 days ago

      I always figured that Ksh / POSIX / Bash shell arrays are kept as they are because anyone with a serious need of arrays ought to be using something better than a scripting language.

      • Sonotsugipaa@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        2
        ·
        9 days ago

        Not necessarily.
        They’re a basic data structure used everywhere, most notably with command arguments ( $@ ) and can make shell scripts a viable option for many simple tasks if their syntax makes sense and you don’t have to wonder how their expansion works every time you see one being used.

        • palordrolap@kbin.run
          link
          fedilink
          arrow-up
          1
          ·
          9 days ago

          An analogy:

          My Swiss Army knife has a screwdriver on it. It’s nice to have, and I even used it recently.

          It juts out perpendicular to the middle of the knife’s body though, making a literal " |- " shape, so for many applications it’s too awkward for the job.

          I also have a more traditional screwdriver. As and when I come to build a new PC, I don’t think I’ll be using the one on the knife.

          • Sonotsugipaa@lemmy.dbzer0.com
            link
            fedilink
            English
            arrow-up
            1
            ·
            edit-2
            8 days ago

            Following the analogy, what if the screwdriver part was bent by 30° and you had to awkwardly turn the tool while keeping it tilted - but there’s also a spring mechanism that attempts to retract the screwdriver you push too hard against the screw?
            (all of that for historical reasons, of course)
            ((or even to discourage you from using the tool?))