]> git.r.bdr.sh - rbdr/dotfiles/commitdiff
Merge branch 'main' of gitlab.com:rbdr/dotfiles
authorRuben Beltran del Rio <redacted>
Fri, 15 Apr 2022 09:14:22 +0000 (09:14 +0000)
committerRuben Beltran del Rio <redacted>
Fri, 15 Apr 2022 09:14:22 +0000 (09:14 +0000)
install
runcoms/zshrc

diff --git a/install b/install
index 90704af2882f09762be02b136c9d680f5542497c..64a3131d228717643af396c3a400412f2c2e44c2 100755 (executable)
--- a/install
+++ b/install
@@ -60,6 +60,8 @@ ln -fns ../.dotfiles/config/nvim ~/.config/nvim
 # config
 ln -fns ../.dotfiles/config/karabiner ~/.config/karabiner
 
+touch ~/.tool-versions
+
 # Italics setup
 echo "Setting up terminfo"
 tic xterm-256color-italic.terminfo
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
-  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
 
 ################################################################################