mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2024-11-22 21:05:09 +00:00
Merge pull request #645 from ckafi/split-without-IFS
[zsh-completion] Split default zsh binding at the correct place
This commit is contained in:
commit
68600f6ecf
@ -186,7 +186,7 @@ fzf-completion() {
|
|||||||
|
|
||||||
[ -z "$fzf_default_completion" ] && {
|
[ -z "$fzf_default_completion" ] && {
|
||||||
binding=$(bindkey '^I')
|
binding=$(bindkey '^I')
|
||||||
[[ $binding =~ 'undefined-key' ]] || fzf_default_completion=$binding[(w)2]
|
[[ $binding =~ 'undefined-key' ]] || fzf_default_completion=$binding[(s: :w)2]
|
||||||
unset binding
|
unset binding
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user