Skip to content
Myr

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

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Temporary workaround for https://github.com/Homebrew/homebrew/issues/39669

authored by Junegunn Choi · committed by Junegunn Choi · parent 26d2af5 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:install+1 added-1 removed
174 unmodified lines
175for shell in bash zsh; do176 echo -n "Generate ~/.fzf.$shell ... "177 src=~/.fzf.${shell}178179 fzf_completion="[[ \$- =~ i ]] && source \"$fzf_base/shell/completion.${shell}\""179 fzf_completion="[[ \$- =~ i ]] && source \"$fzf_base/shell/completion.${shell}\" 2> /dev/null"180 if [ $auto_completion -ne 0 ]; then181 fzf_completion="# $fzf_completion"182 fi183
94 unmodified lines