5 ms·
DIR and LS are both aliases for Get-ChildItem, which doesn't support the flags you're after.
by sapphire_tomb 10y ago
DIR and LS are both aliases for Get-ChildItem, which doesn't support the flags you're after.
- kuschku 10y agoThen don't make them aliases, if they're not the same. The issue already happened with cURL.
- eriknstr 10y agoThey are aliases for Get-Children. Just like you can have an arbitrary alias for anything on UNIX. If I so pleased I could make an alias so that when I wanted to delete a file I'd type emacs some-old-file-i-dont-want.c Emacs would be an alias for rm on my system. That being said I think it was quite offensive of MS to use wget and curl as aliases, even though they may have had no ill intentions. I'm ok with using ls and echo and names of other such basic commands as aliases, but with tools like wget and curl that are known for their vast array of useful features you either implement their features and options or you don't use their names.
- kuschku 10y ago> I'm ok with using ls and echo and names of other such basic commands as aliases, but with tools like wget and curl that are known for their vast array of useful features Well, I can't do my typical ls -la either.