Add Homebrew python to PATH if present

This commit is contained in:
Kenneth Benzie 2017-12-04 21:38:30 +00:00
parent 38c3992418
commit 4fce36e27b

4
zshenv
View File

@ -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