• obnomus@lemmy.ml
    link
    fedilink
    English
    arrow-up
    4
    ·
    45 minutes ago

    I think I’m using fish and it works great, I love alt+s thing and auto complete thingy.

  • mystic-macaroni@lemmy.ml
    link
    fedilink
    arrow-up
    6
    ·
    2 hours ago

    I can’t begin to say how superior my fish rice is to any alternative. So I won’t. And I’ll leave yall to flame me for implying it.

    • topherclay
      link
      fedilink
      arrow-up
      6
      ·
      1 hour ago

      All we ask of you is that you don’t reheat it in the employee break room microwave.

    • flying_sheep@lemmy.ml
      link
      fedilink
      arrow-up
      3
      ·
      45 minutes ago

      That’s a paradox. POSIX shells are all bad because POSIX demands bad syntax.

      You can have pain word strings without also having weird “variables auto-explode into words” bullshit.

      That’s why I use nushell. It has lists. You do cmd ...$some_list to call a command on arguments from a list.

  • __Lost__@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    23
    ·
    7 hours ago

    Sometimes I think I’m the only linux user who doesn’t care about their terminal emulator. I use whatever came installed. I assume it’s bash? I don’t know, but anything i want to do is supported by all of them.

    • four@lemmy.zip
      link
      fedilink
      English
      arrow-up
      28
      ·
      6 hours ago

      Akchually, those are shells, not terminal emulators.

      Which I guess confirms that you really don’t care. Whatever works for you, works for you :)

      • sem@piefed.blahaj.zone
        link
        fedilink
        English
        arrow-up
        3
        ·
        3 hours ago

        What’s the difference.

        How does the virtual terminal factor in.

        Why are some shells not login shells

        What is a terminal these days and why does it mess up keypresses

        • hamFoilHat
          link
          fedilink
          arrow-up
          5
          ·
          1 hour ago

          The terminal emulator is the window displaying the text. That used to be a physical screen called a terminal. The program that decides what text to show is the shell.

    • Overspark@piefed.social
      link
      fedilink
      English
      arrow-up
      9
      ·
      8 hours ago

      Then give nushell a go. It’s basically a modern implementation of some of the better ideas Powershell had.

        • flying_sheep@lemmy.ml
          link
          fedilink
          arrow-up
          3
          ·
          edit-2
          11 minutes ago
          1. Types.

          You explode lists manually into items when calling commands on a variable list of arguments instead of “quoting variables” to prevent them from exploding.

          Who came up with the bullshit idea that exploding strings into words is such a common use case that this footgun is preferable to have an “explode lists” syntax?

          1. Errors. No more set -euo pipefail; shopt -s lastpipe to beat some semblance of sanity into bash
    • kn33
      link
      fedilink
      English
      arrow-up
      6
      arrow-down
      1
      ·
      9 hours ago

      This but unironically

  • heliotrope@retrofed.com
    link
    fedilink
    English
    arrow-up
    61
    ·
    edit-2
    8 hours ago

    Thompson shell (predates Bourne)


    scsh (Scheme shell)


    sash (stand-alone shell)


    gash (Guile shell)


    ash (Almquist shell)


    dash (Debian Almquist shell)


    eshell (Emacs shell)


    Shells I couldn’t think of images for:

    • bosh (from SchilyTools)
    • tclsh (Tcl shell)
    • ion (from Redox OS)
  • HotsauceHurricane
    link
    fedilink
    arrow-up
    3
    ·
    6 hours ago

    As a ham-handed individual , I absolutely LOVE fish shell. Started using it like 3 years ago and never looked back.

      • festus@lemmy.ca
        link
        fedilink
        English
        arrow-up
        4
        ·
        1 hour ago

        Run ‘bash’ and then follow the guide, assuming it’s too complex to tweak for fish.

      • tetris11@feddit.uk
        link
        fedilink
        English
        arrow-up
        3
        ·
        edit-2
        1 hour ago

        you can run bash scripts in fish. The syntax is bash ./script.sh

        Edit: I’m being unhelpful/funny. I just read through the fish manual, and it’s so nice and agree that if it was just a bit more bash friendly it would have great uptake

  • Dagnet
    link
    fedilink
    English
    arrow-up
    56
    ·
    11 hours 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
      9
      ·
      5 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
        link
        fedilink
        English
        arrow-up
        1
        ·
        4 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
          ·
          2 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.

    • smiletolerantly@awful.systems
      link
      fedilink
      arrow-up
      40
      arrow-down
      2
      ·
      11 hours 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.

      • nialv7
        link
        fedilink
        arrow-up
        7
        ·
        8 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!

      • lime!@feddit.nu
        link
        fedilink
        arrow-up
        19
        ·
        11 hours ago

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

        • Laser@feddit.org
          link
          fedilink
          arrow-up
          2
          ·
          46 minutes ago

          It’s Stockholm syndrome

          I mean who doesn’t like putting mandatory quotes around all variables (though exceptions, like in [[ ... ]] apply)?

          Or keywords like fi and esac or worrying about $IFS

    • FedX@quokk.au
      link
      fedilink
      English
      arrow-up
      13
      ·
      11 hours 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
        12
        ·
        10 hours 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
          6
          arrow-down
          1
          ·
          10 hours 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
            9
            ·
            10 hours 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
                1
                ·
                1 hour 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
      link
      fedilink
      arrow-up
      6
      ·
      10 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
      ·
      9 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

    • expr@programming.dev
      link
      fedilink
      arrow-up
      1
      ·
      3 hours ago

      It’s not getting POSIX compliance done, that’s for sure. Or compatibility with normal scripts.

      • Laser@feddit.org
        link
        fedilink
        arrow-up
        2
        ·
        54 minutes ago

        Almost nobody cares about these features for new shells. POSIX compatibility in my opinion is an anti-feature for interactive shells; for scripts, use the shell referenced in the shebang. There are even newer POSIX compatible shells like oil if you want one of these.

  • Omni rizzler@anarchist.nexus
    link
    fedilink
    English
    arrow-up
    22
    ·
    11 hours ago

    Fish is the best . Do not listen what other says just because it’s easy to use does not make it a bad tool Also helix better then neovim and emacs
    And zellij better then tmux
    Micro better then nano Jj better then git A LOT

    • dismay3915
      link
      fedilink
      arrow-up
      8
      ·
      10 hours ago

      You lost me at “helix better than nvim and emacs”

      • pemptago@lemmy.ml
        link
        fedilink
        English
        arrow-up
        2
        ·
        8 hours ago

        That’s the only one I could confirm, but probably because my config game is weak.

    • NewOldGuard@lemmy.ml
      link
      fedilink
      English
      arrow-up
      4
      ·
      10 hours ago

      JJ lacks too many features compared to git, it’s easier to use but just less powerful. I think Helix and Zellij are good for that “batteries included” approach, but neovim and tmux are more powerful and allow much more customization IMO so those tools don’t displace them for me. I think shell choices are less impactful, if you’re writing scripts 90% of the time it’ll have to be bash anyway, use what you like for the interactive shell though.

    • lime!@feddit.nu
      link
      fedilink
      arrow-up
      3
      ·
      9 hours ago

      still don’t really get along with jj. and why use a tmux-alike when konsole has the same functionality built in?