[zsh-completion] Do not overwrite $fzf_default_completion

This commit is contained in:
Junegunn Choi 2015-05-11 22:53:35 +09:00
parent 0b770cd48a
commit 2b61dc6557

View File

@ -149,6 +149,7 @@ fzf-completion() {
fi
}
[ -z "$fzf_default_completion" ] &&
fzf_default_completion=$(bindkey '^I' | grep -v undefined-key | awk '{print $2}')
zle -N fzf-completion