Merge pull request #645 from ckafi/split-without-IFS

[zsh-completion] Split default zsh binding at the correct place
This commit is contained in:
Junegunn Choi 2016-08-29 12:47:14 +09:00 committed by GitHub
commit 68600f6ecf

View File

@ -186,7 +186,7 @@ fzf-completion() {
[ -z "$fzf_default_completion" ] && {
binding=$(bindkey '^I')
[[ $binding =~ 'undefined-key' ]] || fzf_default_completion=$binding[(w)2]
[[ $binding =~ 'undefined-key' ]] || fzf_default_completion=$binding[(s: :w)2]
unset binding
}