We've suggested this before in the context of the discussion of the infamous curl alias, and in that context it was not done (although I don't remember why), so let me suggest it again now:
ALL built-in aliases should be removed from the shell.
- A module should be created called "CoreAliases" which recreates all the aliases which are left in PowerShell Core when it's run on Linux or Mac OS.
- Another module should be created called "CoreWindowsAliases" which builds on top of CoreAliases but adds
ls and the other aliases that are currently missing on Linux and Mac OS, but not on Windows.
- A third module should be created called "WindowsPowerShellAliases" which further builds on the first two to put back all of the Windows PowerShell aliases for which the commands are present in Core.
- All three modules should ship in the installer (like PSReadline), so they're always present.
Then we can stop changing aliases one at a time, and never have another discussion about them.
If people want the aliases, they just import the appropriate module for their situation. If they don't, they do nothing.
We've suggested this before in the context of the discussion of the infamous curl alias, and in that context it was not done (although I don't remember why), so let me suggest it again now:
ALL built-in aliases should be removed from the shell.
lsand the other aliases that are currently missing on Linux and Mac OS, but not on Windows.Then we can stop changing aliases one at a time, and never have another discussion about them.
If people want the aliases, they just import the appropriate module for their situation. If they don't, they do nothing.