diff --git a/zshenv b/zshenv index a07336d..4ca68bc 100644 --- a/zshenv +++ b/zshenv @@ -11,6 +11,10 @@ SAVEHIST=5000 # Enable time stats for long lasting commands REPORTTIME=5 +# Add Homebrew python to PATH on macOS if present +[ "`uname`" = "Darwin" ] && [ -d /usr/local/opt/python/libexec/bin ] && + PATH=/usr/local/opt/python/libexec/bin:$PATH + # Add ~/.local to the environment fpath+=$HOME/.local/share/zsh/site-functions PATH=$HOME/.local/bin:$PATH