fix(fzf): prefer bundled binary for shell integration
This commit is contained in:
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user