diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2024-01-02 21:02:24 -0400 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2024-01-02 21:02:24 -0400 |
commit | c5faa83699734a45f0fcafb07eb6c30e11e7fda3 (patch) | |
tree | 85322ee7636809d2ad2ed9612b6c2ec1a95651b9 /.zshrc | |
parent | 5c6143e2615db1fed4627908c7e0c9ef687c200f (diff) |
zsh: add util-linux to path if installed via homebrew
Diffstat (limited to '.zshrc')
-rw-r--r-- | .zshrc | 5 |
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 -- |