Execute clear before fzf

This commit is contained in:
Junegunn Choi 2014-03-26 01:34:59 +09:00
parent e7439ce193
commit 49081711a9

View File

@ -69,6 +69,7 @@ function! fzf#run(...) abort
let cwd = getcwd()
execute 'chdir '.s:escape(dict.dir)
endif
silent !clear
execute 'silent !'.prefix.s:exec.' '.optstr.' > '.result
redraw!
if v:shell_error