[vim] Remove unnecessary powershell check

&shell is guaranteed to be cmd.exe on windows because we call s:use_sh()
pull/3004/head
Junegunn Choi 2 years ago
parent d04faa6505
commit f9d53303bb
No known key found for this signature in database
GPG Key ID: 254BC280FEF9C627

@ -464,7 +464,7 @@ try
let temps = { 'result': s:fzf_tempname() }
let optstr = s:evaluate_opts(get(dict, 'options', ''))
try
let fzf_exec = (&shell =~ 'powershell' ? '&' : '') . shellescape(fzf#exec())
let fzf_exec = shellescape(fzf#exec())
catch
throw v:exception
endtry

Loading…
Cancel
Save