diff options
| author | Junegunn Choi <junegunn.c@gmail.com> | 2015-03-13 23:04:13 +0900 |
|---|---|---|
| committer | Junegunn Choi <junegunn.c@gmail.com> | 2015-03-13 23:04:13 +0900 |
| commit | bc2e82efc13f4fb5ad714a7de98a24dfb74b36e9 (patch) | |
| tree | 5b72ff66b07ded42c2327f02a65a98f0756f5333 /plugin | |
| parent | c04e8de9b008428fee658e00661983ae22430435 (diff) | |
| download | fzf-bc2e82efc13f4fb5ad714a7de98a24dfb74b36e9.tar.gz | |
[vim] Suppress error message when clear command is N/A
Diffstat (limited to 'plugin')
| -rw-r--r-- | plugin/fzf.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/fzf.vim b/plugin/fzf.vim index 076ab919..713dfff9 100644 --- a/plugin/fzf.vim +++ b/plugin/fzf.vim @@ -171,7 +171,7 @@ endfunction function! s:execute(dict, command, temps) call s:pushd(a:dict) - silent !clear + silent! !clear 2> /dev/null if has('gui_running') let launcher = get(a:dict, 'launcher', get(g:, 'fzf_launcher', s:launcher)) let command = printf(launcher, "'".substitute(a:command, "'", "'\"'\"'", 'g')."'") |
