How to configure multiple PATH in custom bash_profile in OSX 10.8?

I want to set up my laptop for Python development and Android Phonegap development in OSX 10.8 using Eclipse. I installed the latest version of Python (3.3), which added code:

# Setting PATH for Python 3.3
# The orginal version is saved in .bash_profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/3.3/bin:${PATH}"
export PATH

in my .bash_profile. In the process of configuring Phonegap, you need to configure PATH for Android Development tools with the following line:

export PATH=${PATH}:/Development/android-sdk-macosx/platform-tools:/Development/android-sdk-macosx/tools

Is it possible to configure both PATHs in .bash_profile to create Python and Android at the same time? Or do I need to switch between PATH depending on what type of development I would like to do?

+5
source share
1 answer

Yes, you just add them to the path list:

PATH="/Library/Frameworks/Python.framework/Versions/3.3/bin:${PATH}:/Development/android-sdk-macosx/platform-tools:/Development/android-sdk-macosx/tools"
export PATH

, - python sdk, sdk, /Library/Frameworks/Python.framework/Versions/3.3/bin .

+10

All Articles