mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
fixed brew conflict with python
This commit is contained in:
parent
90ad453902
commit
6435440e1d
1 changed files with 1 additions and 0 deletions
|
|
@ -2,6 +2,7 @@
|
||||||
# This will allow us to override system binaries like ruby with our brews
|
# This will allow us to override system binaries like ruby with our brews
|
||||||
# TODO: Do this in a more compatible way.
|
# TODO: Do this in a more compatible way.
|
||||||
# What if someone doesn't have /usr/bin in their path?
|
# 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/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/bin:&|'` # Add it in front of /usr/bin
|
||||||
export PATH=`echo $PATH | sed -e 's|/usr/bin|/usr/local/sbin:&|'` # Add /usr/local/sbin
|
export PATH=`echo $PATH | sed -e 's|/usr/bin|/usr/local/sbin:&|'` # Add /usr/local/sbin
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue