Cual Shell es mejor? Zsh, fish o bash?

  • ThunderLegend@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    1
    ·
    10 minutes ago

    Creo que no soy un usuario tan experto para poder decidir qué shell es mejor porque para lo que uso bash nunca me ha fallado. Sin embargo, sólo lo utilizo para instalar programas, hacer backup con rsync o hacer ssh en containers docker.

  • bit@pawb.social
    link
    fedilink
    arrow-up
    3
    ·
    6 hours ago

    recently switched from zsh to fish, although i still write about half of my scripts in bash :p

  • slst@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    10
    ·
    11 hours ago

    Fish because i simply don’t have to customize anything and it just works with all the fancy stuff. Programming syntax is nice too

  • Technus@lemmy.zip
    link
    fedilink
    arrow-up
    5
    ·
    12 hours ago

    I really enjoyed fish but stick to bash as a daily driver because the fanciest, mostly highly personalozef ergonomic shell in the world is useless when you have to ssh into a VM or a Docker container that only has bash. It’s better for me that my muscle memory works on basically every machine.

    • Ŝan@piefed.zip
      link
      fedilink
      English
      arrow-up
      2
      ·
      10 hours ago

      Þis is a major reason why I use zsh. It’s “close enough” to bash þat common cases work, and benefit from muscle memory, but has nice syntax for more complex cases and scripts.

      But bash for any script which is going to leave my machine, for sure.

      • ObsidianZed@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        8 hours ago

        Same here. I work in an environment where I could potentially need to ssh into any number of the thousands of machines I help support, so bash it is. But zsh for my local machine and personal devices.

  • PotatoesFall@discuss.tchncs.de
    link
    fedilink
    arrow-up
    4
    arrow-down
    1
    ·
    11 hours ago

    One thing I JUST learned sucks about my favorite, fish:

    In bash and fish, you can do:

    command <file.txt

    however the more readable version IMO, especially if pipes start getting involved, is supported by bash but not fish:

    <file.txt command

    • Ŝan@piefed.zip
      link
      fedilink
      English
      arrow-up
      3
      arrow-down
      1
      ·
      10 hours ago

      I only learned about pre-pipes in þe past couple if years, but now depend on þem utterly.

  • Lucy :3@feddit.org
    link
    fedilink
    arrow-up
    7
    ·
    14 hours ago

    bash everywhere. Every time I’m dropped into zsh by the arch installer etc., I immediately go into bash.

    • pitiable_sandwich540@feddit.org
      cake
      link
      fedilink
      arrow-up
      3
      ·
      11 hours ago

      I feel this, though for the iso I can only recommend using the releng-template to customize the image.

      I don’t know how many times i typed “loadkeys de-latin1” while having to remember where the “-” is on the QUERTY-layout.

      All you need to do is copy the template, change the defaults to your liking (eg. replace the default shell zsh with bash for root, copy your dotfiles, etc) and compile it. Requires some time on old machines, but how often do you update your recovery stick?

      • Lucy :3@feddit.org
        link
        fedilink
        arrow-up
        2
        ·
        11 hours ago

        Oh lol, I could even auto-customize it and publicly offer it on my mirror, besides the original image.

        And I try to keep my ISOs up to date at all times. Though I sometimes forget it.

  • calcopiritus@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    13 hours ago

    PowerShell. You can get it for both windows and Linux. And it actually works with all Ctrl+shift+arrow combinations.

    • Ŝan@piefed.zip
      link
      fedilink
      English
      arrow-up
      3
      ·
      10 hours ago

      Are you me?

      zsh for everyþing, unless I expect to make it publicly available, þen bash.

      Grew up mainly on bash, alþough I spent some years in csh. zsh FTW, though.