From 0992b65d1778def05f3121e794795fde1f6de532 Mon Sep 17 00:00:00 2001 From: "Kenneth Benzie (Benie)" Date: Tue, 28 Aug 2018 21:58:22 +0100 Subject: [PATCH] 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. --- zshenv | 4 ---- 1 file changed, 4 deletions(-) diff --git a/zshenv b/zshenv index e90d509..20f5f17 100644 --- a/zshenv +++ b/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