Skip to content
Myr

[install] Unset FZF_DEFAULT_OPTS when checking the binary

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

authored by Junegunn Choi · committed by Junegunn Choi · parent 4f2c274 · 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
81 unmodified lines
8283check_binary() {84 echo -n " - Checking fzf executable ... "85 local output86 output=$("$fzf_base"/bin/fzf --version 2>&1)86 output=$(FZF_DEFAULT_OPTS= "$fzf_base"/bin/fzf --version 2>&1)87 if [ $? -ne 0 ]; then88 echo "Error: $output"89 binary_error="Invalid binary"90 else
309 unmodified lines