From 9bf85a0fc518d6003943aba1bcf5637e2cda412f Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Tue, 14 Mar 2023 19:43:07 +0100 Subject: emacs: fix internal shell missing PATH entries --- user/emacs/init.el | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/user/emacs/init.el b/user/emacs/init.el index c1a7366d..89065062 100644 --- a/user/emacs/init.el +++ b/user/emacs/init.el @@ -31,12 +31,13 @@ (delete-dups (append (parse-colon-path - (elt (split-string-and-unquote - (with-output-to-string - (with-current-buffer standard-output - (call-process "/usr/libexec/path_helper" nil t nil "-s"))) - "[=;]") - 1)) + (setenv "PATH" + (elt (split-string-and-unquote + (with-output-to-string + (with-current-buffer standard-output + (call-process "/usr/libexec/path_helper" nil t nil "-s"))) + "[=;]") + 1))) exec-path)) ap/path-configured t)) -- cgit 1.4.1