fix(fzf): prefer bundled binary for shell integration

This commit is contained in:
Frank Qing
2026-07-15 12:00:29 +08:00
parent 76395923ce
commit 17ecc5f67c
+3
View File
@@ -223,6 +223,9 @@ source "$ZSH/oh-my-zsh.sh"
# Configs that can only work after "source $ZSH/oh-my-zsh.sh", such as Aliases that depend oh-my-zsh plugins
# Now source fzf.zsh , otherwise Ctr+r is overwritten by ohmyzsh
if [[ -x "$HOME/.fzf/bin/fzf" ]] && ! fzf --zsh >/dev/null 2>&1; then
path=("$HOME/.fzf/bin" ${path:#$HOME/.fzf/bin})
fi
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
export FZF_DEFAULT_OPS="--extended"