mirror of
https://github.com/junegunn/fzf.git
synced 2025-08-19 14:33:49 -07:00
Fix bug in install script
This commit is contained in:
4
install
4
install
@@ -72,7 +72,7 @@ for shell in bash zsh; do
|
|||||||
echo -n "Generate ~/.fzf.$shell ... "
|
echo -n "Generate ~/.fzf.$shell ... "
|
||||||
src=~/.fzf.${shell}
|
src=~/.fzf.${shell}
|
||||||
|
|
||||||
fzf_completion="source $fzf_base/fzf-completion.${shell}"
|
fzf_completion="[[ \$- =~ i ]] && source $fzf_base/fzf-completion.${shell}"
|
||||||
if [ $auto_completion -ne 0 ]; then
|
if [ $auto_completion -ne 0 ]; then
|
||||||
fzf_completion="# $fzf_completion"
|
fzf_completion="# $fzf_completion"
|
||||||
fi
|
fi
|
||||||
@@ -88,7 +88,7 @@ export -f fzf > /dev/null
|
|||||||
|
|
||||||
# Auto-completion
|
# Auto-completion
|
||||||
# ---------------
|
# ---------------
|
||||||
[[ \$- =~ i ]] && $fzf_completion
|
$fzf_completion
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user