summaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
Diffstat (limited to 'plugin')
-rw-r--r--plugin/fzf.vim3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugin/fzf.vim b/plugin/fzf.vim
index 4190e0e3..b17361d2 100644
--- a/plugin/fzf.vim
+++ b/plugin/fzf.vim
@@ -519,7 +519,8 @@ finally
if len(prev_default_command)
let $FZF_DEFAULT_COMMAND = prev_default_command
else
- execute 'unlet $FZF_DEFAULT_COMMAND'
+ let $FZF_DEFAULT_COMMAND = ''
+ silent! execute 'unlet $FZF_DEFAULT_COMMAND'
endif
endif
let [&shell, &shellslash, &shellcmdflag, &shellxquote] = [shell, shellslash, shellcmdflag, shellxquote]