« get me outta code hell

dotfiles - Miscellaneous configuration files of my personal use
about summary refs log tree commit diff
path: root/.zshrc
diff options
context:
space:
mode:
Diffstat (limited to '.zshrc')
-rw-r--r--.zshrc5
1 files changed, 5 insertions, 0 deletions
diff --git a/.zshrc b/.zshrc
index c057e7f..784cbdc 100644
--- a/.zshrc
+++ b/.zshrc
@@ -59,6 +59,11 @@ if [[ -v DEVICE_HAS_HOMEBREW ]]; then
     # https://github.com/pyenv/pyenv#homebrew-in-macos
     alias brew='env PATH="${PATH//$(pyenv root)\/shims:/}" brew'
   fi
+
+  if [[ -s "$DEVICE_HOMEBREW_INSTALLATION/opt/util-linux" ]]; then
+    path=("$DEVICE_HOMEBREW_INSTALLATION/opt/util-linux/bin" ${(@)path})
+    path=("$DEVICE_HOMEBREW_INSTALLATION/opt/util-linux/sbin" ${(@)path})
+  fi
 fi
 
 # -- Node Version Manager --