]> git.r.bdr.sh - rbdr/dotfiles/blobdiff - runcoms/zshrc
Add CoC config
[rbdr/dotfiles] / runcoms / zshrc
index 98b59679d37f946ca6770fe62554f51008788e2f..6d2b00ddb37c9093518a6d193a81d8b0452192d7 100644 (file)
@@ -57,7 +57,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
 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
 
 ################################################################################
 fi
 
 ################################################################################