Skip to content

Instantly share code, notes, and snippets.

@joaoneto
Created March 30, 2013 19:10
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save joaoneto/5277974 to your computer and use it in GitHub Desktop.
Save joaoneto/5277974 to your computer and use it in GitHub Desktop.
Sublime Text 2 Package NVM node path configuration
# 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"]
@davidhq
Copy link

davidhq commented Sep 5, 2015

Expanded solution that doesn't hardcode the version:
https://gist.github.com/joesepi/11269417#gistcomment-1567508

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment