Skip to content

Instantly share code, notes, and snippets.

@joaoneto
Created March 30, 2013 19:10
Show Gist options
  • 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