diff options
author | Case Duckworth | 2020-11-23 13:40:40 -0600 |
---|---|---|
committer | Case Duckworth | 2020-11-23 13:40:40 -0600 |
commit | e44cbd8184ba2b03aa40bdb4249387f43f88593b (patch) | |
tree | e615ecff77fd3d4b66ff16a2d4768fe5038ec55a | |
parent | Add License (diff) | |
download | emacs-e44cbd8184ba2b03aa40bdb4249387f43f88593b.tar.gz emacs-e44cbd8184ba2b03aa40bdb4249387f43f88593b.zip |
Add more paths to exec-path on Windows
-rw-r--r-- | config.org | 8 |
1 files changed, 5 insertions, 3 deletions
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 | |||
97 | 97 | ||
98 | #+end_src | 98 | #+end_src |
99 | 99 | ||
100 | ** Add PortableGit to the =exec-path= on Windows | 100 | ** Add more paths to the =exec-path= when using Windows |
101 | 101 | ||
102 | #+begin_src emacs-lisp :tangle early-init.el | 102 | #+begin_src emacs-lisp :tangle early-init.el |
103 | (when (eq system-type 'windows-nt) | 103 | (when (eq system-type 'windows-nt) |
104 | (add-to-list 'exec-path "~/bin") | 104 | (dolist (path '("~/bin" |
105 | (add-to-list 'exec-path "C:/Users/aduckworth/Downloads/PortableGit/bin")) | 105 | "C:/Users/aduckworth/Downloads/PortableGit/bin" |
106 | "C:/Users/aduckworth/Downloads/PortableGit/usr/bin")) | ||
107 | (add-to-list 'exec-path path))) | ||
106 | #+end_src | 108 | #+end_src |
107 | 109 | ||
108 | ** Bootstrap =straight.el= | 110 | ** Bootstrap =straight.el= |