From: Ruben Beltran del Rio Date: Fri, 15 Apr 2022 10:24:28 +0000 (+0200) Subject: Fix path check for intel macs fzf X-Git-Url: https://git.r.bdr.sh/rbdr/dotfiles/commitdiff_plain/3945b868e04daaff719b56a4666c4cb66d63b7a7?ds=inline Fix path check for intel macs fzf --- diff --git a/runcoms/zshrc b/runcoms/zshrc index 6d2b00d..a18511b 100644 --- a/runcoms/zshrc +++ b/runcoms/zshrc @@ -57,7 +57,7 @@ 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 - if [[ -s "/opt/homebrew/bin/brew" ]]; then + if [[ -s "/usr/local/bin/brew" ]]; then export FZF_VIM_PATH=/usr/local/opt/fzf else export FZF_VIM_PATH=/usr/share/doc/fzf/examples