From 0c4acf407f3c4486d75b232911fb1fcf84fc32a1 Mon Sep 17 00:00:00 2001 From: joachimschmidt557 Date: Thu, 29 Aug 2024 11:19:27 +0200 Subject: [PATCH] emacs: add exec-path-from-shell for macos --- emacs.el | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/emacs.el b/emacs.el index 19f6a4c..23449a0 100644 --- a/emacs.el +++ b/emacs.el @@ -88,6 +88,7 @@ ;; (straight-use-package 'projectile) (straight-use-package 'osm) (straight-use-package 'editorconfig) +(straight-use-package 'exec-path-from-shell) ;; Emacs Configuration (setq inhibit-splash-screen t) @@ -125,6 +126,11 @@ (use-package gcmh :delight) +(use-package exec-path-from-shell + :config + (when (memq window-system '(mac)) + (exec-path-from-shell-initialize))) + (use-package undo-tree :config (global-undo-tree-mode)