[vim] Explicitly set source to FZF_DEFAULT_COMMAND

Helps when your `$SHELL` is slow.

Close #552.
pull/554/head
Junegunn Choi 8 years ago
parent d86cee2a69
commit 095f31b316

@ -121,6 +121,10 @@ try
throw v:exception
endtry
if !has_key(dict, 'source') && !empty($FZF_DEFAULT_COMMAND)
let dict.source = $FZF_DEFAULT_COMMAND
endif
if has_key(dict, 'source')
let source = dict.source
let type = type(source)

Loading…
Cancel
Save