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. :)

  • qaz@lemmy.world
    link
    fedilink
    English
    arrow-up
    27
    arrow-down
    1
    ·
    edit-2
    3 days ago

    Fish is great. I love how it works by default. I always felt like zsh required too much setup.

    Have you also tried nushell? It’s great for manipulating data from e.g. .csv or .json files. It works with structured data like so:

    • LucidNightmare@lemmy.dbzer0.comOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      2 days ago

      I’m honestly just now finding out about all of these different shells, and prompts! It’s amazing, and daunting at the same time!

      Right now, I’m just using fish since it does the little that I need from the terminal. I am a Linux noob/casual, so working with scripts or CSV or JSON files aren’t all that important to me. I will take a look at nushell though! :)

    • Oinks@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      5
      ·
      edit-2
      3 days ago

      One thing that bothers me about Nushell (even if it doesn’t really matter) is honestly just how bloated the table style is, with three columns in each column margin and six columns of enforced line numbers. Why can’t it display tables in the same style as regular UNIX commands?

      Another thing that bothered me is that the “blessed” way to parse tables from external commands seems very fragile to me. Iirc the builtin parsing commands work solely off table headers, which are locale dependent for many commands, so a script might appear to work fine but suddenly break if an LC_* environment variable sneaks in somewhere. The size filter trick works nicely for ls, but doing the same thing becomes painful again when using df.

      I also found the script syntax (implicit line continuations, command seperation, etc.) difficult to understand but presumably that’s just a matter of familiarity.

      I’ll have to give it another try in the future but for now Fish is good enough for me.

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

      Not OP but I fell instantly in love with fish shell and its design principles.

      I’ve also tried nushell and its design and ideas are really cool. I’m sure it can be very useful for often handling data in the shell. But as a daily thing it was a bit much for me at the time to transition to. 😅 I’d love to explore more sometime though.

      • qaz@lemmy.world
        link
        fedilink
        English
        arrow-up
        4
        ·
        3 days ago

        Yes, it takes some getting used to. I still use fish as my default shell and use nu for working with data.