Fix bash script when fzf_base contains spaces

pull/133/head
Junegunn Choi 9 years ago
parent 93dcd932e8
commit ff09c275d4

@ -159,7 +159,7 @@ for shell in bash zsh; do
echo -n "Generate ~/.fzf.$shell ... "
src=~/.fzf.${shell}
fzf_completion="[[ \$- =~ i ]] && 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

Loading…
Cancel
Save