Skip to content

Commit

Permalink
[install] Remove redundant interactiveness check
Browse files Browse the repository at this point in the history
Related #3449

/cc @calestyo
  • Loading branch information
junegunn committed Oct 9, 2023
1 parent 2952737 commit a0d61b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

1 comment on commit a0d61b4

@calestyo
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Please sign in to comment.