PowerSession-rs icon indicating copy to clipboard operation
PowerSession-rs copied to clipboard

allow changing the default command

Open ghost opened this issue 3 years ago • 3 comments

it defaults to powershell.exe - powershell 5.1, and i would like to be able to change it to pwsh - powershell 7

ghost avatar Jul 23 '22 23:07 ghost

you should be able to run PowerSession.exe rec -c pwsh a.txt

ibigbug avatar Jul 25 '22 14:07 ibigbug

An env var, or a config setting to set shell would be pretty useful

brian6932 avatar Aug 19 '22 16:08 brian6932

The point is the cmd doesn't have to be a shell, it can be other programs like text editor vim etc.

ibigbug avatar Aug 21 '22 07:08 ibigbug