Suppress error message when loading completion.{zsh,bash}

Temporary workaround for https://github.com/Homebrew/homebrew/issues/39669
pull/226/merge
Junegunn Choi 9 years ago
parent 26d2af5ee8
commit 3b91467941

@ -176,7 +176,7 @@ for shell in bash zsh; do
echo -n "Generate ~/.fzf.$shell ... "
src=~/.fzf.${shell}
fzf_completion="[[ \$- =~ i ]] && source \"$fzf_base/shell/completion.${shell}\""
fzf_completion="[[ \$- =~ i ]] && source \"$fzf_base/shell/completion.${shell}\" 2> /dev/null"
if [ $auto_completion -ne 0 ]; then
fzf_completion="# $fzf_completion"
fi

Loading…
Cancel
Save