mirror of
https://github.com/ViViDboarder/shoestrap.git
synced 2024-11-21 21:16:33 +00:00
Fix paths for rvm and pip
This commit is contained in:
parent
784e229418
commit
cd1155792b
@ -55,8 +55,10 @@ fi
|
||||
export PATH=$HOME/bin:$HOME/.local/bin:$PATH
|
||||
|
||||
# Add RVM to PATH for scripting
|
||||
export PATH=$PATH:$HOME/.rvm/bin
|
||||
if [ -d "$HOME/.rvm" ]; then
|
||||
export PATH="$PATH:$HOME/.rvm/bin"
|
||||
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
|
||||
fi
|
||||
|
||||
# Increase memory sizes for java using Ant
|
||||
ANT_OPTS="-Xmx2048m -Xms512m"
|
||||
|
@ -25,6 +25,7 @@ else if [ $det_os = "mac" ]
|
||||
# set PATH $HOME/Library/Python/2.7/bin $PATH
|
||||
# Fix Python path on OSX to avoid considering System extras over newer versions
|
||||
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
|
||||
|
||||
# Google GO
|
||||
@ -38,5 +39,11 @@ if [ -d "$android_sdk" ]
|
||||
set -gx PATH $PATH $android_sdk/platform-tools $android_sdk/tools
|
||||
end
|
||||
|
||||
# Ruby paths
|
||||
# Add RVM to PATH for scripting
|
||||
if [ -d "$HOME/.rvm" ]
|
||||
set -gx PATH $PATH $HOME/.rvm/bin
|
||||
end
|
||||
|
||||
# Home path
|
||||
set -gx PATH $HOME/bin $HOME/.local/bin $PATH
|
||||
|
Loading…
Reference in New Issue
Block a user