Renamed function dir to dirx

Topics: Developer Forum
Mar 7, 2007 at 12:57 AM
I got nervous about how different my dir function was from the get-childitem alias that ships with PowerShell that I renamed my function to dirx. Most of the time that I want a special dir it is because I want a quick sort on size, time or just want to see dirs. It seemed like a safer way to go. Thoughts?
Mar 7, 2007 at 1:36 AM
To be honest, I think it's probably a good idea. The first couple of days using pscx, I found dir.ps1 to be a little jarring since I had been used to using dir in place of gci (having been a long-term command line guy). I think it's good to adopt that attitude that pscx should augment powershell rather than outright change it. dir.ps1 kind of fell into the latter category. Other things like the new tab-expansion, while they are a complete replacement, they behave the same with a little "extra."

Anyhow, I vote yes for this one.
Mar 7, 2007 at 2:04 AM
me too
Mar 7, 2007 at 3:01 AM
The deal is sealed then. Thanks for your feedback.