append path vs clobbering

This commit is contained in:
Aaron Bieber 2021-12-15 08:56:36 -07:00
parent 64cbd09bbe
commit 79ff3c6cbc

View File

@ -30,12 +30,10 @@ shell.
"~/go/bin" "~/go/bin"
"~/opt/bin" "~/opt/bin"
"/usr/local/plan9/bin" "/usr/local/plan9/bin"
) )))
)
)
(setenv "PATH" (concat (getenv "PATH") (mapconcat 'expand-if-exists (remove nil paths) ":"))) (setenv "PATH" (concat (getenv "PATH") (mapconcat 'expand-if-exists (remove nil paths) ":")))
(setq exec-path (remove "" (split-string (getenv "PATH") ":")))) (setq exec-path (append exec-path (remove "" (split-string (getenv "PATH") ":")))))
#+end_src #+end_src
** Start the emacs server ** Start the emacs server