summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2023-10-09 10:00:55 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2023-10-09 10:00:55 +0900
commita0d61b4c373f6b977314f7ebe53f6236798151e9 (patch)
treeff6774615434471a7605bf8319f2dc64b7dd37ff
parent2952737755aeda4c088a84693569f7b881162160 (diff)
downloadfzf-a0d61b4c373f6b977314f7ebe53f6236798151e9.tar.gz
[install] Remove redundant interactiveness check
Related #3449 /cc @calestyo
-rwxr-xr-xinstall2
1 files changed, 1 insertions, 1 deletions
diff --git a/install b/install
index 5ac191b0..744cc7ab 100755
--- a/install
+++ b/install
@@ -245,7 +245,7 @@ for shell in $shells; do
src=${prefix_expand}.${shell}
echo -n "Generate $src ... "
- fzf_completion="[[ \$- == *i* ]] && source \"$fzf_base/shell/completion.${shell}\" 2> /dev/null"
+ fzf_completion="source \"$fzf_base/shell/completion.${shell}\""
if [ $auto_completion -eq 0 ]; then
fzf_completion="# $fzf_completion"
fi