Open hrai opened 1 year ago
Did you try
if executable('pwsh.exe') " Win32 or WSL
let s:pwsh = 'pwsh.exe -NoExit -NoLogo -ExecutionPolicy RemoteSigned -Command [Console]::InputEncoding=[Console]::OutputEncoding=[System.Text.Encoding]::UTF8;'
let g:gtfo#terminals = { 'win': s:pwsh, 'unix': s:pwsh }
unlet s:pwsh
endif
?
Maybe in
gtfo is too smart to make pwsh work, since only pwsh.exe
is executable, not pwsh
gof
does not open anything in WSL butgot
opens a terminal.This is on windows 10 host and Ubuntu 22.x WSL