summary refs log tree commit diff stats
path: root/user
diff options
context:
space:
mode:
authorAlan Pearce2023-03-14 19:43:07 +0100
committerAlan Pearce2023-03-14 19:43:38 +0100
commit9bf85a0fc518d6003943aba1bcf5637e2cda412f (patch)
tree4741437791f7e49daa1109766cb795a99105532a /user
parent63052d5b309bfe577d9bdbff3472fde49cfcc20e (diff)
downloadnixfiles-9bf85a0fc518d6003943aba1bcf5637e2cda412f.tar.lz
nixfiles-9bf85a0fc518d6003943aba1bcf5637e2cda412f.tar.zst
nixfiles-9bf85a0fc518d6003943aba1bcf5637e2cda412f.zip
emacs: fix internal shell missing PATH entries
Diffstat (limited to 'user')
-rw-r--r--user/emacs/init.el13
1 files 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))