Add Homebrew python to PATH if present
This commit is contained in:
parent
38c3992418
commit
4fce36e27b
4
zshenv
4
zshenv
@ -11,6 +11,10 @@ SAVEHIST=5000
|
|||||||
# Enable time stats for long lasting commands
|
# Enable time stats for long lasting commands
|
||||||
REPORTTIME=5
|
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
|
# Add ~/.local to the environment
|
||||||
fpath+=$HOME/.local/share/zsh/site-functions
|
fpath+=$HOME/.local/share/zsh/site-functions
|
||||||
PATH=$HOME/.local/bin:$PATH
|
PATH=$HOME/.local/bin:$PATH
|
||||||
|
Loading…
x
Reference in New Issue
Block a user