]> git.r.bdr.sh - rbdr/dotfiles/commitdiff
Merge branch 'main' of git.sr.ht:~rbdr/dotfiles
authorRuben Beltran del Rio <redacted>
Sun, 19 Mar 2023 13:08:51 +0000 (14:08 +0100)
committerRuben Beltran del Rio <redacted>
Sun, 19 Mar 2023 13:08:51 +0000 (14:08 +0100)
1  2 
install
runcoms/zshrc

diff --cc install
index 88930c49825492047b6d1d3116b587f92a5eb456,ba0458bf1da83714fb0acbf2ac1556401c492fa5..a7f07b6ebae7ce7879b87f3fc50ac25af78144c6
+++ b/install
@@@ -60,9 -57,12 +60,12 @@@ ln -fns ../.dotfiles/config/kitty ~/.co
  # nvim
  ln -fns ../.dotfiles/config/nvim ~/.config/nvim
  
 -# Karabiner
 +# karabiner
  ln -fns ../.dotfiles/config/karabiner ~/.config/karabiner
  
+ # i3
+ ln -fns ../.dotfiles/config/i3 ~/.config/i3
  touch ~/.tool-versions
  
  # Italics setup
diff --cc runcoms/zshrc
index 153d73daaf77277de1d7fa030009b50a70290691,808616a00897ecd08f686679fc49f34178917cf7..9555055dc9c9b56dcaa2f9063c18e698644aa14c
@@@ -91,7 -97,11 +95,11 @@@ f
  
  # ASDF
  if ! command -v brew &>  /dev/null; then
-   . $HOME/.asdf/asdf.sh
+   if [[ -s "/opt/asdf-vm/asdf.sh" ]]; then
+     . /opt/asdf-vm/asdf.sh
+   else
+     . $HOME/.asdf/asdf.sh
+   fi
  else
 -  . $(brew --prefix asdf)/asdf.sh
 +  . $(brew --prefix asdf)/libexec/asdf.sh
  fi