]> git.r.bdr.sh - rbdr/dotfiles/commitdiff
Fix path check for intel macs fzf
authorRuben Beltran del Rio <redacted>
Fri, 15 Apr 2022 10:24:28 +0000 (12:24 +0200)
committerRuben Beltran del Rio <redacted>
Fri, 15 Apr 2022 10:24:28 +0000 (12:24 +0200)
runcoms/zshrc

index 6d2b00ddb37c9093518a6d193a81d8b0452192d7..a18511b1f7bfa41b5877de6dcca220b9df615855 100644 (file)
@@ -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