From ff09c275d4abf21920526f3134869bda0a7464d5 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Thu, 12 Feb 2015 10:13:49 +0900 Subject: [PATCH] Fix bash script when fzf_base contains spaces --- install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install b/install index 07cb0ab..a06693a 100755 --- a/install +++ b/install @@ -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