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
|
;; Homebrew
|
||||||
(push "/usr/local/bin" exec-path)
|
(push "/usr/local/bin" exec-path)
|
||||||
|
|
||||||
;; rbenv
|
;; ;; rbenv
|
||||||
(setq exec-path (cons "~/.rbenv/bin" exec-path))
|
;; (setq exec-path (cons "~/.rbenv/bin" exec-path))
|
||||||
(setenv "PATH" (concat "~/.rbenv/bin:" (getenv "PATH")))
|
;; (setenv "PATH" (concat "~/.rbenv/bin:" (getenv "PATH")))
|
||||||
(setq exec-path (cons "~/.rbenv/shims" exec-path))
|
;; (setq exec-path (cons "~/.rbenv/shims" exec-path))
|
||||||
(setenv "PATH" (concat "~/.rbenv/shims:" (getenv "PATH")))
|
;; (setenv "PATH" (concat "~/.rbenv/shims:" (getenv "PATH")))
|
||||||
|
|
||||||
;; node.js
|
;; ;; node.js
|
||||||
(setq exec-path (cons "~/.nvm/v0.10.24/bin" exec-path))
|
;; (setq exec-path (cons "~/.nvm/v0.10.24/bin" exec-path))
|
||||||
(setenv "PATH" (concat "~/.nvm/v0.10.24/bin:" (getenv "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 "remember.el"))
|
||||||
(load-file (get-config-path "project-definitions.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
|
;; Custom variables file
|
||||||
(setq custom-file (get-config-path "custom-variables.el"))
|
(setq custom-file (get-config-path "custom-variables.el"))
|
||||||
(load-file custom-file)
|
(load-file custom-file)
|
||||||
|
|||||||
@@ -68,12 +68,14 @@
|
|||||||
minimap
|
minimap
|
||||||
move-text
|
move-text
|
||||||
multiple-cursors
|
multiple-cursors
|
||||||
|
nvm
|
||||||
phi-search
|
phi-search
|
||||||
php-mode
|
php-mode
|
||||||
projectile
|
projectile
|
||||||
puppet-mode
|
puppet-mode
|
||||||
pt
|
pt
|
||||||
rainbow-mode
|
rainbow-mode
|
||||||
|
rbenv
|
||||||
restclient
|
restclient
|
||||||
rhtml-mode
|
rhtml-mode
|
||||||
rubocop
|
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