From 772ebedd35df2aae2f7320e95d81cb9d8f0da829 Mon Sep 17 00:00:00 2001 From: Uko Kokņevičs Date: Wed, 15 Oct 2025 02:37:58 +0300 Subject: emacs: Add exec-path-from-shell --- emacs/.config/emacs/init.el | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'emacs') diff --git a/emacs/.config/emacs/init.el b/emacs/.config/emacs/init.el index 918dd80..2852df2 100644 --- a/emacs/.config/emacs/init.el +++ b/emacs/.config/emacs/init.el @@ -353,6 +353,14 @@ ;; This actually has to be hooked to after-init to be one of the first minor modes enabled :hook (elpaca-after-init . envrc-global-mode)) +(use-package exec-path-from-shell + ;; If any other environment variables are needed, they can be added to exec-path-from-shell-variables + :ensure t + :custom + (exec-path-from-shell-variables '("PATH" "MANPATH" "SSH_AUTH_SOCK" "SSH_AGENT_PID" "GPG_AGENT_INFO" "LANG" "LC_CTYPE" "NIX_SSL_CERT_FILE" "NIX_PATH")) + :config + (exec-path-from-shell-initialize)) + (use-package forge :ensure t :after magit) -- cgit v1.2.3