4 ms·
I don't think this is a good default for posh on nix platforms but I would argue that it's a good thing on Windows. The output of PowerShell ls is an object wit
by brazzledazzle 10y ago
I don't think this is a good default for posh on nix platforms but I would argue that it's a good thing on Windows. The output of PowerShell ls is an object with typed properties and methods that you can interact with in a much richer way.
Not to mention user experience. Adding these aliases made moving back-and-forth between nix and Windows much less jarring for me. They also really helped drive home the difference between something like bash and posh because investigating the differences between the aliases and their nix namesakes revealed their respective strengths and weaknesses.
I imagine changing aliases would be out of the question since they should have priority over PATH but perhaps a special conditional case for these the first time they're run interactively would be to check for the nix equivalent in your PATH and prompt to see if you'd like to remove them.
- rocqua 10y agoI don't really het the point of powershell making everything an object. If I wanted that I'd probably be in a python REPL.
- brazzledazzle 10y agoI think if you'd asked me a few years ago I might have agreed. But the Python REPL is a terrible shell. If you have a lot of experience with something like bash and you can run circles with it PowerShell probably doesn't add a lot of short term value.