From 6435440e1df39c5d090295d837ac9d3a3f111d2a Mon Sep 17 00:00:00 2001 From: Locojay Date: Sun, 29 May 2011 22:58:35 -0400 Subject: [PATCH] fixed brew conflict with python --- plugins/brew/brew.plugin.zsh | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/brew/brew.plugin.zsh b/plugins/brew/brew.plugin.zsh index f584a4684..a7ec4a6d0 100644 --- a/plugins/brew/brew.plugin.zsh +++ b/plugins/brew/brew.plugin.zsh @@ -2,6 +2,7 @@ # This will allow us to override system binaries like ruby with our brews # TODO: Do this in a more compatible way. # What if someone doesn't have /usr/bin in their path? +export PATH='/usr/local/share/python':$PATH export PATH=`echo $PATH | sed -e 's|/usr/local/bin||' -e 's|::|:|g'` # Remove /usr/local/bin export PATH=`echo $PATH | sed -e 's|/usr/bin|/usr/local/bin:&|'` # Add it in front of /usr/bin export PATH=`echo $PATH | sed -e 's|/usr/bin|/usr/local/sbin:&|'` # Add /usr/local/sbin