all repos — nixfiles @ 9bf85a0fc518d6003943aba1bcf5637e2cda412f

System and user configuration, managed by nix and home-manager

emacs: fix internal shell missing PATH entries

Alan Pearce
commit

9bf85a0fc518d6003943aba1bcf5637e2cda412f

parent

63052d5b309bfe577d9bdbff3472fde49cfcc20e

1 file changed, 7 insertions(+), 6 deletions(-)

jump to
M user/emacs/init.eluser/emacs/init.el
@@ -31,12 +31,13 @@ (setq exec-path
(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))