Created
March 30, 2013 19:10
-
-
Save joaoneto/5277974 to your computer and use it in GitHub Desktop.
Sublime Text 2 Package NVM node path configuration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Sublime package NVM node path configuration | |
# Save this file in: | |
# ~/.config/sublime-text-2/Packages/node_env.py | |
import os | |
os.environ["PATH"] = "/home/joao/.nvm/v0.10.2/bin:/home/joao/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin" | |
print "PATH=" + os.environ["PATH"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expanded solution that doesn't hardcode the version:
https://gist.github.com/joesepi/11269417#gistcomment-1567508