[install] Remove redundant interactiveness check

Related #3449

/cc @calestyo
pull/3468/head
Junegunn Choi 7 months ago
parent 2952737755
commit a0d61b4c37
No known key found for this signature in database
GPG Key ID: 254BC280FEF9C627

@ -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

Loading…
Cancel
Save