Closed spowelljr closed 3 years ago
@spowelljr : This would need an upstream issue and PR as well, at https://github.com/docker/machine
Sounds good to me, I'm not sure how many start new CMD shells from their Powershell - but if they do...
@afbjorklund Thanks for merging, I'll make an upstream issue and PR as well.
Not holding my breath that anyone will ever look at it, but just in case...
Description
If you spawn a Powershell instance from CMD, sometimes the SHELL environment variable still points to CMD in the Powershell instance. So if SHELL is pointing to CMD, let's do extra work to get the correct shell.