NuShell: a very nice shell I found today. What do you think? - eviltoast
  • marco@beehaw.org
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    1 year ago

    It’s cool, I just gave it a go, but I’m not sure it’s gonna happen that I’ll transition from

    ls -lrt (this does not work in NuShell)

    to

    ls | sort-by modified | reverse

      • FUsername@feddit.de
        link
        fedilink
        arrow-up
        6
        ·
        1 year ago

        While your argument is valid, most bash users I know are lazy bitches and tend to alias commands which require to type more than 5 letters. I guess NuShell lower the bar for NuUsers, but of I have to remember either single letters or puppy it through longer commands, I world opt for single letters.

      • marco@beehaw.org
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 year ago

        Totally - for new users it’s great… similarly, I would have loved to start typing on Dvorak.

        My problem might be one of age, but there is no way I’m gonna retrain myself after 20+ years of typing that specific ls command… ;)

    • hallettj@beehaw.org
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      So maybe this is too much of a kludge, but I happened to see that you can define custom sub-commands to extend existing commands. You can use that to reproduce your familiar command:

      def "ls -lrt" [] {
        ls | sort-by modified | reverse
      }
      

      Of course this does not capture the usual composability of those switches.