mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
Redo env setup a bit
This commit is contained in:
16
env.el
16
env.el
@@ -1,12 +1,12 @@
|
||||
;; 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")))
|
||||
;; ;; 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.10.24/bin" exec-path))
|
||||
(setenv "PATH" (concat "~/.nvm/v0.10.24/bin:" (getenv "PATH")))
|
||||
;; ;; node.js
|
||||
;; (setq exec-path (cons "~/.nvm/v0.10.24/bin" exec-path))
|
||||
;; (setenv "PATH" (concat "~/.nvm/v0.10.24/bin:" (getenv "PATH")))
|
||||
|
||||
4
init.el
4
init.el
@@ -28,6 +28,10 @@
|
||||
(load-file (get-config-path "remember.el"))
|
||||
(load-file (get-config-path "project-definitions.el"))
|
||||
|
||||
;; Load runtime specific setup files
|
||||
(load-file (get-config-path "runtimes/ruby.el"))
|
||||
(load-file (get-config-path "runtimes/nodejs.el"))
|
||||
|
||||
;; Custom variables file
|
||||
(setq custom-file (get-config-path "custom-variables.el"))
|
||||
(load-file custom-file)
|
||||
|
||||
@@ -68,12 +68,14 @@
|
||||
minimap
|
||||
move-text
|
||||
multiple-cursors
|
||||
nvm
|
||||
phi-search
|
||||
php-mode
|
||||
projectile
|
||||
puppet-mode
|
||||
pt
|
||||
rainbow-mode
|
||||
rbenv
|
||||
restclient
|
||||
rhtml-mode
|
||||
rubocop
|
||||
|
||||
7
runtimes/nodejs.el
Normal file
7
runtimes/nodejs.el
Normal 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"))
|
||||
6
runtimes/ruby.el
Normal file
6
runtimes/ruby.el
Normal file
@@ -0,0 +1,6 @@
|
||||
;; rbenv
|
||||
(setq exec-path (cons "~/.rbenv/bin" exec-path))
|
||||
(setq exec-path (cons "~/.rbenv/shims" exec-path))
|
||||
|
||||
(when (require 'rbenv nil 'noerror)
|
||||
(global-rbenv-mode))
|
||||
Reference in New Issue
Block a user