diff options
author | Alan Pearce | 2023-03-14 19:43:07 +0100 |
---|---|---|
committer | Alan Pearce | 2023-03-14 19:43:38 +0100 |
commit | 9bf85a0fc518d6003943aba1bcf5637e2cda412f (patch) | |
tree | 4741437791f7e49daa1109766cb795a99105532a /user/emacs | |
parent | 63052d5b309bfe577d9bdbff3472fde49cfcc20e (diff) | |
download | nixfiles-9bf85a0fc518d6003943aba1bcf5637e2cda412f.tar.lz nixfiles-9bf85a0fc518d6003943aba1bcf5637e2cda412f.tar.zst nixfiles-9bf85a0fc518d6003943aba1bcf5637e2cda412f.zip |
emacs: fix internal shell missing PATH entries
Diffstat (limited to 'user/emacs')
-rw-r--r-- | user/emacs/init.el | 13 |
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)) |