Open ghost opened 2 years ago
you should be able to run PowerSession.exe rec -c pwsh a.txt
An env var, or a config setting to set shell would be pretty useful
The point is the cmd doesn't have to be a shell, it can be other programs like text editor vim etc.
it defaults to powershell.exe - powershell 5.1, and i would like to be able to change it to pwsh - powershell 7