From 6998c22f491511f31990ffe1158d2ad8e30d29be Mon Sep 17 00:00:00 2001 From: drd Date: Thu, 6 Apr 2017 11:41:23 +0200 Subject: Fix paths on OSX --- emacs.d/init.el | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- cgit v1.2.1