2
0
mirror of https://github.com/junegunn/fzf synced 2024-11-16 12:12:48 +00:00

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() let cwd = getcwd()
execute 'chdir '.s:escape(dict.dir) execute 'chdir '.s:escape(dict.dir)
endif endif
silent !clear
execute 'silent !'.prefix.s:exec.' '.optstr.' > '.result execute 'silent !'.prefix.s:exec.' '.optstr.' > '.result
redraw! redraw!
if v:shell_error if v:shell_error