summaryrefslogtreecommitdiff
path: root/emacs
diff options
context:
space:
mode:
authorGrégoire Duchêne <gduchene@awhk.org>2021-04-03 18:03:10 +0100
committerGrégoire Duchêne <gduchene@awhk.org>2021-04-03 18:08:46 +0100
commitd52fba67b658f7261a15e125d7c9c32961fb06d6 (patch)
tree5e5030bfd217b748190db7a927c374db73862573 /emacs
parentf69fb4697046ac805d3da22c5eb73b0e4fd29398 (diff)
emacs: Use exec-path-from-shell
This nifty package will ensure emacs has the same PATH as zsh.
Diffstat (limited to 'emacs')
-rw-r--r--emacs/init.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/emacs/init.el b/emacs/init.el
index f4350aa..ca6abaa 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -90,6 +90,10 @@
(put 'dired-find-alternate-file 'disabled nil)
(require 'dired-x))
+(use-package exec-path-from-shell
+ :config (exec-path-from-shell-initialize)
+ :ensure t)
+
(use-package evil-magit :ensure t)
(use-package go-mode