Skip to content
Snippets Groups Projects
Commit 095f31b3 authored by Junegunn Choi's avatar Junegunn Choi
Browse files

[vim] Explicitly set source to FZF_DEFAULT_COMMAND

Helps when your `$SHELL` is slow.

Close #552.
parent d86cee2a
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment