Currently the default shell nvim uses is cmd.exe
I tried changing it by setting shell to powershell in my nvim config but that didn't work, so I tried this command in the nvim command line:
:let &shell = 'path/to/powershell.exe'
Echo shell command output the powershell path and when I executed :terminal
it opened a powershell
tab but after quitting and reopening nvim it was still using cmd.exe
How do I permanently change the default shell to powershell?