mirror of
https://github.com/junegunn/fzf.git
synced 2025-07-26 09:42:02 -07:00
@@ -164,7 +164,7 @@ function s:get_version(bin)
|
||||
if has_key(s:versions, a:bin)
|
||||
return s:versions[a:bin]
|
||||
end
|
||||
let command = a:bin . ' --version --no-height'
|
||||
let command = fzf#shellescape(a:bin) . ' --version --no-height'
|
||||
let output = systemlist(command)
|
||||
if v:shell_error || empty(output)
|
||||
return ''
|
||||
|
Reference in New Issue
Block a user