summaryrefslogtreecommitdiffstats
path: root/emacs.d/init.el
diff options
context:
space:
mode:
Diffstat (limited to 'emacs.d/init.el')
-rw-r--r--emacs.d/init.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/emacs.d/init.el b/emacs.d/init.el
index bc546ee..8c05f38 100644
--- a/emacs.d/init.el
+++ b/emacs.d/init.el
@@ -1,6 +1,12 @@
;;; System
(add-to-list 'load-path (expand-file-name "~/.emacs.d/site-lisp"))
+
+;; Fix paths on OSX
+(when (equal system-type 'darwin)
+ (setenv "PATH" (concat (getenv "PATH") ":/usr/local/bin"))
+ (setq exec-path (append exec-path '("/usr/local/bin"))))
+
(setq-default
gc-cons-threshold 10000000
backup-by-copying t