mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
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:
4
env.el
4
env.el
@@ -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")))
|
||||
|
||||
Reference in New Issue
Block a user