From e44cbd8184ba2b03aa40bdb4249387f43f88593b Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Mon, 23 Nov 2020 13:40:40 -0600 Subject: Add more paths to exec-path on Windows --- config.org | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'config.org') diff --git a/config.org b/config.org index 7429b32..affa0b5 100644 --- a/config.org +++ b/config.org @@ -97,12 +97,14 @@ It's highly likely that the WTFPL is completely incompatible with the GPL, for w #+end_src -** Add PortableGit to the =exec-path= on Windows +** Add more paths to the =exec-path= when using Windows #+begin_src emacs-lisp :tangle early-init.el (when (eq system-type 'windows-nt) - (add-to-list 'exec-path "~/bin") - (add-to-list 'exec-path "C:/Users/aduckworth/Downloads/PortableGit/bin")) + (dolist (path '("~/bin" + "C:/Users/aduckworth/Downloads/PortableGit/bin" + "C:/Users/aduckworth/Downloads/PortableGit/usr/bin")) + (add-to-list 'exec-path path))) #+end_src ** Bootstrap =straight.el= -- cgit 1.4.1-21-gabe81