make emacs aware of my node.js bins directory

This is a temporary hack pointed at the exact version of node.js I have installed. Hopefully I can come up with a more generic way to do it later.
This commit is contained in:
2011-11-09 13:37:58 +00:00
parent 4b55bca90c
commit fc917547a5

4
env.el
View File

@@ -6,3 +6,7 @@
(setenv "PATH" (concat "~/.rbenv/bin:" (getenv "PATH")))
(setq exec-path (cons "~/.rbenv/shims" exec-path))
(setenv "PATH" (concat "~/.rbenv/shims:" (getenv "PATH")))
;; node.js
(setq exec-path (cons "~/.nvm/v0.4.12/bin" exec-path))
(setenv "PATH" (concat "~/.nvm/v0.4.12/bin:" (getenv "PATH")))