mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2025-01-03 07:12:20 +00:00
[vim] Remove unnecessary powershell check
&shell is guaranteed to be cmd.exe on windows because we call s:use_sh()
This commit is contained in:
parent
d04faa6505
commit
f9d53303bb
@ -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…
Reference in New Issue
Block a user