danluca / Pscx

PowerShell Core Community Extensions module repository
MIT License
6 stars 0 forks source link

Code cleanup updates #4

Closed danluca closed 1 year ago

danluca commented 1 year ago

The PATH environment variable is case sensitive in *nix systems and insensitive on Windows - ensured that PscxContext and other places that refer to PATH are using the all caps version for consistent behavior on all platforms.

Updated the invoking of file editor process to account for paths with space/other chars that need escaping

Removed the PATH update for RAR utility - not really its place here (the posh profile files are better suited)

Updated the LESS environment variable to avoid collision with git output paging (the first screen started few lines off)

Updated PscxPathInfo to work in both Windows and *nix environments

Added NodaTime library and updated time objects API for richer interactions and interoperability with native types

Redesigned the unit system into SimpleUnits namespace with a good API for interactions and conversions - exposed through ConvertTo-Unit cmdlet.