From 45fc7b903d1aab0871f03cbe1c4fbec71b932d9f Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Sun, 5 Jan 2025 11:32:54 +0900 Subject: [PATCH] [install] Unset FZF_DEFAULT_OPTS when checking the binary --- install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install b/install index b4d2a193..5f7d2cec 100755 --- a/install +++ b/install @@ -83,7 +83,7 @@ ask() { check_binary() { echo -n " - Checking fzf executable ... " local output - output=$("$fzf_base"/bin/fzf --version 2>&1) + output=$(FZF_DEFAULT_OPTS= "$fzf_base"/bin/fzf --version 2>&1) if [ $? -ne 0 ]; then echo "Error: $output" binary_error="Invalid binary"