summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordrd <drd@ableton.com>2017-04-06 11:41:23 +0200
committerDavid Robillard <d@drobilla.net>2017-04-06 22:24:49 +0200
commit6998c22f491511f31990ffe1158d2ad8e30d29be (patch)
tree046578599f1541b563022d9b25e8c2e5ae5ad7ff
parent6ed9ebe04314698d4e9c586acdc07e1e471a1406 (diff)
downloaddotfiles-6998c22f491511f31990ffe1158d2ad8e30d29be.tar.gz
dotfiles-6998c22f491511f31990ffe1158d2ad8e30d29be.tar.bz2
dotfiles-6998c22f491511f31990ffe1158d2ad8e30d29be.zip
Fix paths on OSX
-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