mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2024-11-22 12:55:17 +00:00
[zsh-completion] Do not overwrite $fzf_default_completion
This commit is contained in:
parent
0b770cd48a
commit
2b61dc6557
@ -149,7 +149,8 @@ fzf-completion() {
|
||||
fi
|
||||
}
|
||||
|
||||
fzf_default_completion=$(bindkey '^I' | grep -v undefined-key | awk '{print $2}')
|
||||
[ -z "$fzf_default_completion" ] &&
|
||||
fzf_default_completion=$(bindkey '^I' | grep -v undefined-key | awk '{print $2}')
|
||||
|
||||
zle -N fzf-completion
|
||||
bindkey '^I' fzf-completion
|
||||
|
Loading…
Reference in New Issue
Block a user