Skip to content
Snippets Groups Projects
Commit 3b914679 authored by Junegunn Choi's avatar Junegunn Choi
Browse files

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

parent 26d2af5e
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment