Slight fixup of osx paths for python and rust

This commit is contained in:
ViViDboarder 2018-02-01 17:11:41 -08:00
parent e74d5adc66
commit f877117244

View File

@ -22,12 +22,15 @@ else if [ $det_os = "mac" ]
# Set go paths
set -gx GOPATH $HOME/workspace/go_path
# set PATH $HOME/Library/Python/2.7/bin $PATH
# Fix Python path on OSX to avoid considering System extras over newer versions
set -gx PATH $PATH $HOME/Library/Python/2.7/bin
set -gx PYTHONPATH /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages:$PYTHONPATH
set -gx PATH $PATH /opt/local/Library/Frameworks/Python.framework/Versions/Current/bin
end
# Add rust path
set -gx PATH $HOME/.cargo/bin $PATH
# Google GO
if [ -d "$GOPATH" ]
set -gx PATH $PATH $GOPATH/bin