summaryrefslogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2015-05-12 22:54:48 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2015-05-12 22:54:48 +0900
commit3b91467941d2a7f00181070e65a36ebdc30a65ee (patch)
tree775faf30d1c2c1e00f6765fe599df538cf8613b0 /install
parent26d2af5ee8b254b5a150728aac428762a6f6e92b (diff)
Suppress error message when loading completion.{zsh,bash}
Temporary workaround for https://github.com/Homebrew/homebrew/issues/39669
Diffstat (limited to 'install')
-rwxr-xr-xinstall2
1 files changed, 1 insertions, 1 deletions
diff --git a/install b/install
index efe9b6a2..ab4cb21d 100755
--- a/install
+++ b/install
@@ -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