mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
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.
13 lines
402 B
EmacsLisp
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")))
|