• chrash0@lemmy.world
    link
    fedilink
    English
    arrow-up
    7
    ·
    edit-2
    7 months ago

    i’ve been daily driving nushell for about 6 months and it’s been great for the most part. the downsides are 90% regular breaking changes (big breaking changes just dropped today that i’ll have to migrate) and 10% translating scripts or commands from bash.

    it can really make you feel like a wizard the first time you bang out a pipeline to change some data in a JSON file.

    the only thing i might mildly disagree with is the sentiment that we need community buy-in. sure it would be nice if the project had more eyes on it, but i’m not trying to convince my company to adopt nushell. unlike TypeScript or Rust i don’t have to inconvenience anyone by introducing nushell to my workflow. you can just start using it. and i’d recommend it to basically anyone who isn’t brand new to shells. but it doesn’t hurt my feelings one bit if my coworkers don’t see the appeal

  • gaael@lemmy.world
    link
    fedilink
    English
    arrow-up
    7
    ·
    7 months ago

    This was an interesting read for me.
    So far, I’ve been exposed to bash as the default shell, I then switched to zsh because I wanted the oh-my-zsh experience and recently I discovered fish because it is ships with my current gaming distro (Garuda).
    I never really gave it much thought, I do too little shell-scripting to really remember syntax and open a search engine any time I want to write another script.

    The part that speaks the most to me is towards the end: it’s ok to have nice things, and writing scripts should be fun. The first programming language I used was Ruby, and to this day I never really found the same syntactic niceness in another language (C, Java, Rust, JS).
    Mainly for this reason, this article makes me want to try Nushell.

    • chrash0@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      ·
      7 months ago

      depends on how entrenched you are in bash/POSIX, but it’s a fairly simple language to learn.

  • hedy@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    6 months ago

    Yes, really. fi and esac are a joke that never found their end. No one would design a language that did that with a straight face these days.

    Well, I thought that was genius when learning Bash.

  • dotslashme@infosec.pub
    link
    fedilink
    English
    arrow-up
    1
    ·
    7 months ago

    As much as I want to champion nushell, the problem is that it isn’t available on every machine like traditional shells.

    That means my whole organisation need to have nushell installed on every machine, and even then, any scripts using nushell is effectively useless outside the organisation.

      • dotslashme@infosec.pub
        link
        fedilink
        English
        arrow-up
        2
        ·
        7 months ago

        There are tons av resources (scripts, guides, examples) that make up the backbone of a lot of IT departments.

        If you’re setting a new organisation, you can chose to go with nushell, but then you have to accept that you either need to write all scripts from scratch, or you need to convert an existing script to nushell. If you put nushell into an existing department/organisation, then you face the same problem.

        Before there are substantial resources to solve common sysadmin tasks in nushell, organisational adoption is unlikely due to the cost.