regisf / virtualenvwrapper-powershell

A mimic of the VirtualEnvWrapper project but with Powershell
MIT License
109 stars 28 forks source link

Fix Get-VirtualEnvs for PS 7.0+ #24

Closed dbellandi closed 3 years ago

dbellandi commented 3 years ago

In Powershell 7+ the objects returned by Get-ChildItem expand to the full path by default versus just the subpath. Using $child.name works in both versions.

regisf commented 3 years ago

Hi @dbellandi Thanks a lot for your contibution.

dbellandi commented 3 years ago

Happy to help, thank you for the package @regisf !