• Dagnet@lemmy.world
    link
    fedilink
    English
    arrow-up
    69
    arrow-down
    1
    ·
    1 day ago

    imo fish is the best out of the box for me, but I just use bash cause its everywhere

    • merc@sh.itjust.works
      link
      fedilink
      arrow-up
      18
      ·
      19 hours ago

      Yeah, that’s where this meme fails. BASH is the default and has been for decades. Most people are not Gigachad.

      I’ll accept FISH as being for babies, Zsh as being for Emo types or extra nerdy people. SH being for white beards makes sense.

      BASH is:

      IT Guy

      • elephantium@lemmy.world
        link
        fedilink
        English
        arrow-up
        4
        ·
        18 hours ago

        I used a macbook for work for a while with zsh in the terminal. IDK whether I qualify as emo, but I am nerdy. I only think of myself as regular nerdy, though, not extra nerdy.

        • merc@sh.itjust.works
          link
          fedilink
          arrow-up
          1
          ·
          16 hours ago

          Was zsh the default at the time? Or did you switch to zsh? AFAIK the new default is BASH, but it was zsh for a while.

          IMO, your level of nerdiness is much higher if you change the default shell.

          • elephantium@lemmy.world
            link
            fedilink
            English
            arrow-up
            3
            ·
            7 hours ago

            I had to go back and check. Apple says that the default changed from bash to zsh in Catalina (10.15). I seem to recall a message coming up on the machine about zsh. I definitely remember poking around at config files and looking at iTerm2 vs. the default terminal app at the time.

            Does that make me extra nerdy? IDK. I can tell you that I was more focused on “What’s going to be comfortable to work with” vs. nerding out on shell differences.

            I do miss homebrew now that I’m working on a Windows laptop.

            • merc@sh.itjust.works
              link
              fedilink
              arrow-up
              1
              ·
              4 hours ago

              Maybe I remember wrong, but my memory is that at one point MacOS had zsh as the default and then switched to BASH, and then maybe back to zsh again. But, since Internet search is broken these days, I can’t find anything about that.

    • smiletolerantly@awful.systems
      link
      fedilink
      arrow-up
      48
      arrow-down
      2
      ·
      1 day ago

      I just wish fish would accept standard bash syntax in addition.

      Like, if you can warn me that “this is not how we set vars in fish, do this instead!” then you could also just, you know, do it.

        • smiletolerantly@awful.systems
          link
          fedilink
          arrow-up
          1
          ·
          1 hour ago

          No, I’m really happy with fish in general and use its syntax. The only times are things like e.g. a coworker sending me a 3-line script and then not being able to just copy, paste, enter.

      • lime!@feddit.nu
        link
        fedilink
        arrow-up
        26
        ·
        1 day ago

        yea but the posix sh set syntax is atrocious so not supporting it is doing you a favor

      • nialv7@lemmy.world
        link
        fedilink
        arrow-up
        13
        arrow-down
        1
        ·
        edit-2
        22 hours ago

        I just wish my local restaurant would accept burger orders in addition.

        Like, if you can warn me that “this is a Chinese noodle restaurant, we don’t do burger here. Order one of these instead!” then you could also just, you know, make me a burger!

        • smiletolerantly@awful.systems
          link
          fedilink
          arrow-up
          5
          ·
          10 hours ago

          That analogy only holds if they cook the burger for you, hold it in front of you, and go “we don’t make this”, then throwing it out

          • nialv7@lemmy.world
            link
            fedilink
            arrow-up
            3
            ·
            8 hours ago

            No, it’d be like, when you asked them do you know what a burger is? They pointed at a picture of a burger on the wall (they put this picture on the wall because for whatever reason people kept asking them to make burgers), and told you, of course we know what a burger is, we don’t make them, now order noodles or get out!

            • smiletolerantly@awful.systems
              link
              fedilink
              arrow-up
              1
              ·
              4 hours ago

              Okay, you know what… That’s actually better than what I said. Defeat acknowledged.

              (However, it still seems a bit silly to me. name="value" will prompt you to enter set name "value", with your exact name/value prefilled. As far as I know, it really is just syntax substitution; or am I wrong here? Are there semantic differences that can’t be translated?)

              • nialv7@lemmy.world
                link
                fedilink
                arrow-up
                1
                ·
                3 hours ago

                i think it could be a slippery slope thing. things like name="value" are easy to parse and implement, but then what if people keep asking for a little bit more, and a little bit more again? bash’s syntax is very very complex, there will be no winners if fish has a half-assed implementation of what bash does, it’s better to not even start.

    • FedX@quokk.au
      link
      fedilink
      English
      arrow-up
      15
      ·
      1 day ago

      Yeah, I agree. It’s quirky, its syntax is annoying, and a good ZSH setup is probably better… but I don’t have the time to do an actual ZSH setup.

      • tyler@programming.dev
        link
        fedilink
        arrow-up
        17
        ·
        1 day ago

        A good zsh setup is not better. That’s why I switched off of zsh after years, because it was slower, more bloated, and less intuitive than fish. And bash is ten times worse than zsh.

        • FedX@quokk.au
          link
          fedilink
          English
          arrow-up
          7
          arrow-down
          1
          ·
          1 day ago

          Huh, the more you know. My only experience with ZSH is when I briefly used Manjaro, and it seemed fine at the time… but now that I say that I think about it, “Manjaro defaulting to it,” might have been a bit of a red flag…

          • tyler@programming.dev
            link
            fedilink
            arrow-up
            14
            ·
            1 day ago

            Yeah to get the same setup in zsh you have to install a plugin manager and then quite a number of plugins. Most people default to omz (oh my zsh) but that’s the slowest way. If you pick through all the managers you can get a decent one, but even without a manager the overhead of loading plugins is just slower than building it in like fish does. Fish just is better. And I don’t think I’ve ever once needed posix syntax. If I need to run a script and it doesn’t have a shebang at the start then I just run > bash and start the script there.

              • tyler@programming.dev
                link
                fedilink
                arrow-up
                2
                ·
                15 hours ago

                lol yeah. Like I thought I needed all this crazy stuff tacked on when in reality I just wanted sane defaults. The only thing I add to fish now is the spaceship prompt.

    • Skullgrid@lemmy.world
      link
      fedilink
      arrow-up
      6
      ·
      24 hours ago

      I’m not learning shit that can’t run on everything.

      Source : I got a fistfull of salesforce certs in order to toe the line in my previous job, and I am currently looking for work.

    • mmmm@sopuli.xyz
      link
      fedilink
      arrow-up
      2
      ·
      24 hours ago

      I use bash because gentoo’s portage has a hard dependency on it so in my mind it doesn’t make much sense to install and keep yet another shell just because colors and autocompletion. If they ever get rid of the bashisms in portage I’d surely consider moving to fish, but getting rid of the bashisms in portage means that portage could be ported to the BSDs one more time and we could have Gentoo/BSD again