Don't explicitly add python to PATH
After fixing the macOS `/etc/zprofile` issue rewriting the `PATH` environment variable it is no longer necessary to explicitly add `/usr/local/opt/python/libexec/bin` to `PATH` since Homebrew installed python 2.x is installed in `/usr/local/bin` and is used by default.
This commit is contained in:
parent
9e9c43a0cf
commit
0992b65d17
4
zshenv
4
zshenv
@ -11,10 +11,6 @@ SAVEHIST=5000
|
||||
# Enable time stats for long lasting commands
|
||||
REPORTTIME=5
|
||||
|
||||
# Add Homebrew python to PATH on macOS if present
|
||||
[ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user