Redo env setup a bit

This commit is contained in:
2014-07-08 22:23:12 +01:00
parent 1277e0468e
commit a66254fdf7
5 changed files with 27 additions and 8 deletions

7
runtimes/nodejs.el Normal file
View File

@@ -0,0 +1,7 @@
;; node.js
(setq exec-path (cons "~/.nvm/v0.10.24/bin" exec-path))
;; (setenv "PATH" (concat "~/.nvm/v0.10.24/bin:" (getenv "PATH")))
(when (require 'nvm nil 'noerror)
(nvm-use "v0.10.24"))