Files
.emacs.d/env.el
Jim Myhrberg fc917547a5 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.
2011-11-09 13:37:58 +00:00

13 lines
402 B
EmacsLisp

;; Homebrew
(push "/usr/local/bin" exec-path)
;; rbenv
(setq exec-path (cons "~/.rbenv/bin" exec-path))
(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")))