commit 7caacfd6d550d656cac3fbd6e3d5e4dd439d6d79 parent 527d4315b80b14e17d0aa2608b3907b67f3b6c1e Author: finwo <finwo@pm.me> Date: Wed, 13 Dec 2023 23:47:10 +0100 Add /usr/local path fixes to zshrc Diffstat:
| M | zsh/home/.zshrc | | | 8 | ++++++++ |
1 file changed, 8 insertions(+), 0 deletions(-)
diff --git a/zsh/home/.zshrc b/zsh/home/.zshrc @@ -1,6 +1,14 @@ # vim:fdm=marker:fdl=0 # set -ex +# Path /usr/local fix {{{ +if ! echo $PATH | tr ':' '\n' | grep -q '/usr/local/bin/' ; then + export PATH="/usr/local/bin:$PATH" +fi +if ! echo $PATH | tr ':' '\n' | grep -q '/usr/local/sbin/' ; then + export PATH="/usr/local/sbin:$PATH" +fi +# }}} # Homebrew {{{ # Linuxbrew