Skip to content
Snippets Groups Projects
Commit 6eea9603 authored by Junegunn Choi's avatar Junegunn Choi
Browse files

Fix bug in install script

parent 20915529
No related branches found
No related tags found
No related merge requests found
......@@ -72,7 +72,7 @@ for shell in bash zsh; do
echo -n "Generate ~/.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
fzf_completion="# $fzf_completion"
fi
......@@ -88,7 +88,7 @@ export -f fzf > /dev/null
# Auto-completion
# ---------------
[[ \$- =~ i ]] && $fzf_completion
$fzf_completion
EOF
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment