mirror of
https://github.com/junegunn/fzf.git
synced 2026-10-30 10:05:58 +00:00
[vim] Update fzf#install to handle spaces on Windows (#2993)
This commit is contained in:
1 parent
cefa6b9878
commit
07da058eae
1 file changed
+1
-1
+1
-1
@@ -143,7 +143,7 @@ function! fzf#install()
|
|||||||
if !filereadable(script)
|
if !filereadable(script)
|
||||||
throw script.' not found'
|
throw script.' not found'
|
||||||
endif
|
endif
|
||||||
let script = 'powershell -ExecutionPolicy Bypass -file ' . script
|
let script = 'powershell -ExecutionPolicy Bypass -file ' . shellescape(script)
|
||||||
else
|
else
|
||||||
let script = s:base_dir.'/install'
|
let script = s:base_dir.'/install'
|
||||||
if !executable(script)
|
if !executable(script)
|
||||||
|
|||||||
Reference in new issue
Block a user