From 99c7056d90ff2700d651be40d780c068009c21e6 Mon Sep 17 00:00:00 2001 From: Rutherther Date: Fri, 7 Jun 2024 21:51:42 +0200 Subject: [PATCH] feat: add exec-path-from-shell --- init.el | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/init.el b/init.el index 6f6de01c6804e43a788e7f09142476b0c5a991bb..a0aa085b963b863e279778564c17afa5ae077044 100644 --- a/init.el +++ b/init.el @@ -39,6 +39,25 @@ (setq tab-width 2 evil-shift-width 2) +;; ENV +(my-use-package exec-path-from-shell + :ensure t + :demand t + :custom + (exec-path-from-shell-shell-name (getenv "SHELL")) + (exec-path-from-shell-arguments nil) + (exec-path-from-shell-variables + '("PATH" + "MANPATH" + "CXX" + "CC" + "XDG_CONFIG_HOME" + "XDG_CACHE_HOME" + "XDG_DATA_HOME" + "NIX_PATH")) + :config + (exec-path-from-shell-initialize)) + ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; EVIL ;;