From: Ruben Beltran del Rio Date: Fri, 15 Apr 2022 09:12:25 +0000 (+0000) Subject: Adapt fzf config for linux X-Git-Url: https://git.r.bdr.sh/rbdr/dotfiles/commitdiff_plain/071e5a5319b45799c866af9113f6d47b10d81e4e?ds=sidebyside Adapt fzf config for linux --- diff --git a/runcoms/zshrc b/runcoms/zshrc index cf1c248..5f0ed81 100644 --- a/runcoms/zshrc +++ b/runcoms/zshrc @@ -55,7 +55,11 @@ export FZF_DEFAULT_OPTS='--preview ''bat --style=numbers --color=always {} | hea if [[ -s "/opt/homebrew/bin/brew" ]]; then export FZF_VIM_PATH=/opt/homebrew/opt/fzf else - export FZF_VIM_PATH=/usr/local/opt/fzf + if [[ -s "/opt/homebrew/bin/brew" ]]; then + export FZF_VIM_PATH=/usr/local/opt/fzf + else + export FZF_VIM_PATH=/usr/share/doc/fzf/examples + fi fi ################################################################################