]> git.r.bdr.sh - rbdr/dotfiles/blobdiff - runcoms/zshrc
Update for dnf support
[rbdr/dotfiles] / runcoms / zshrc
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 "/usr/share/z/z.sh" ]]; then
-    . /usr/share/z/z.sh
+  if [[ -s "/usr/libexec/z.sh" ]]; then
+    . /usr/libexec/z.sh
   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