m/fzf
1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-11-16 07:13:48 -05: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