]> git.r.bdr.sh - rbdr/dotfiles/commitdiff
Update for dnf support
authorRuben Beltran del Rio <redacted>
Sun, 14 Jan 2024 15:19:14 +0000 (15:19 +0000)
committerRuben Beltran del Rio <redacted>
Sun, 14 Jan 2024 15:19:14 +0000 (15:19 +0000)
.gitmodules
runcoms/zshrc

index 30b6eeba3162d39d59ad6ec6d597e7a0d8af6b59..4a8e02981b86a2e1166ef0d074a8566a368b3b1f 100644 (file)
@@ -1,3 +1,3 @@
 [submodule "zsh/modules/vendor/zsh-syntax-highlighting"]
        path = zsh/modules/vendor/zsh-syntax-highlighting
 [submodule "zsh/modules/vendor/zsh-syntax-highlighting"]
        path = zsh/modules/vendor/zsh-syntax-highlighting
-       url = git@github.com:zsh-users/zsh-syntax-highlighting.git
+       url = https://github.com/zsh-users/zsh-syntax-highlighting.git
index 8df1b0568e735019ada2a96387b037288e07d4dd..3b61e08f874b01982ec385e0f8e15940ecfd6266 100644 (file)
@@ -82,10 +82,14 @@ fi
 if [[ -s "/opt/homebrew/bin/brew" ]]; then
   . /opt/homebrew/etc/profile.d/z.sh
 else
 if [[ -s "/opt/homebrew/bin/brew" ]]; then
   . /opt/homebrew/etc/profile.d/z.sh
 else
-  if [[ -s "/usr/share/z/z.sh" ]]; then
-    . /usr/share/z/z.sh
+  if [[ -s "/usr/libexec/z.sh" ]]; then
+    . /usr/libexec/z.sh
   else
   else
-    . /usr/local/etc/profile.d/z.sh
+    if [[ -s "/usr/share/z/z.sh" ]]; then
+      . /usr/share/z/z.sh
+    else
+      . /usr/local/etc/profile.d/z.sh
+    fi
   fi
 fi
 
   fi
 fi