• Overspark@piefed.social
      link
      fedilink
      English
      arrow-up
      0
      ·
      10 days 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
          0
          ·
          edit-2
          10 days 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@lemmy.world
            link
            fedilink
            English
            arrow-up
            0
            ·
            9 days ago

            One of the things I really like about PowerShell is the “verb-noun” convention. It makes things a lot easier when learning by examples. Wtf is a sed or an awk? But New-Item -Type Directory oh yeah that makes sense.

            • JackbyDev@programming.dev
              link
              fedilink
              English
              arrow-up
              0
              ·
              9 days ago

              To be fair, the comparison there is mkdir which means make directory, but I don’t doubt there are better examples.

    • whoisearth@lemmy.ca
      link
      fedilink
      arrow-up
      0
      ·
      10 days ago

      Unironically though. It takes time because it’s structurally different than python but it’s fun when you figure it out

      • Hawke@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        10 days ago

        Honestly it’s pretty good, but it’s very verbose in its commands and output.

        The default settings are irritating but it takes only minor tweaks to make it tolerable (mainly fixing the tab completion)

        It’s nicely consistent with its object handling.

        As a windows shell it is head and shoulders above cmd.exe. I’ve thought about using it on Linux but there I like fish better.