• 𝕸𝖔𝖘𝖘
    link
    fedilink
    English
    3410 months ago

    Add ls.bat in your windows directory with dir as the source. It basically acts as an alias.

    • @jasondj@ttrpg.network
      link
      fedilink
      2310 months ago

      Still won’t help me when I type ifconfig or dig, though.

      Also I’ve noticed there is also a curl in Windows CLI that I believe is based on libcurl, but when called from powershell is an alias for (iirc) Invoke-WebRequest.

      • @jvisick@programming.dev
        link
        fedilink
        English
        610 months ago

        I came across this one just yesterday and while it was convenient at first, I immediately got frustrated when I went to add some parameters and discovered it wasn’t actually curl

        • @JustBrian7872@feddit.de
          link
          fedilink
          610 months ago

          Classic PoweShell experience. Try rm -rf - I wonder why they added the aliases in the first place. Only frustrating to type different arguments which are also more verbose. Tastes like the good ol’ embrace-extend-extinguish.