diff --git a/core/core.el b/core/core.el index d802cbd45..b7061caef 100644 --- a/core/core.el +++ b/core/core.el @@ -511,7 +511,8 @@ to least)." (when (and (not noninteractive) (file-readable-p doom-env-file)) (doom-load-env-vars doom-env-file) - (setq exec-path (append (split-string (getenv "PATH") ":") + (setq exec-path (append (split-string (getenv "PATH") + (if IS-WINDOWS ";" ":")) (list exec-directory)) shell-file-name (or (getenv "SHELL") shell-file-name))))