about summary refs log tree commit diff stats
path: root/config.org
diff options
context:
space:
mode:
authorCase Duckworth2020-12-02 18:41:43 -0600
committerCase Duckworth2020-12-02 18:41:43 -0600
commite992da2ad0327881adcf503a758a4d346399297c (patch)
tree02709686d530c9853bd6cc4b243818745226ede5 /config.org
parentFix (hopefully, finally) elpher-gemini-tokens (diff)
downloademacs-e992da2ad0327881adcf503a758a4d346399297c.tar.gz
emacs-e992da2ad0327881adcf503a758a4d346399297c.zip
Change exec-path around
I'm trying to figure out a good way to have =zip= available on windows, so this
is starting with that.
Diffstat (limited to 'config.org')
-rw-r--r--config.org11
1 files changed, 7 insertions, 4 deletions
diff --git a/config.org b/config.org index e8be4d0..7c9b7b8 100644 --- a/config.org +++ b/config.org
@@ -171,7 +171,8 @@ When using Windows (at work), I need to use the PortableGit installation I've do
171 171
172#+begin_src emacs-lisp :tangle early-init.el 172#+begin_src emacs-lisp :tangle early-init.el
173 (when (eq system-type 'windows-nt) 173 (when (eq system-type 'windows-nt)
174 (dolist (path '("C:/Users/aduckworth/Downloads/PortableGit/bin" 174 (dolist (path '("c:/Users/aduckworth/Downloads/emacs/bin"
175 "C:/Users/aduckworth/Downloads/PortableGit/bin"
175 "C:/Users/aduckworth/Downloads/PortableGit/usr/bin")) 176 "C:/Users/aduckworth/Downloads/PortableGit/usr/bin"))
176 (add-to-list 'exec-path path))) 177 (add-to-list 'exec-path path)))
177#+end_src 178#+end_src
@@ -179,9 +180,11 @@ When using Windows (at work), I need to use the PortableGit installation I've do
179Elsewhere, I want to add a few more paths to the =exec-path= as well, since I store scripts in a couple of places at ~. 180Elsewhere, I want to add a few more paths to the =exec-path= as well, since I store scripts in a couple of places at ~.
180 181
181#+begin_src emacs-lisp :tangle early-init.el 182#+begin_src emacs-lisp :tangle early-init.el
182 (dolist (path '("~/bin" 183 (dolist (path `(,(expand-file-name "bin"
183 "~/.local/bin" 184 user-emacs-directory)
184 "~/Scripts")) 185 ,(expand-file-name "~/bin")
186 ,(expand-file-name "~/.local/bin")
187 ,(expand-file-name "~/Scripts")))
185 (add-to-list 'exec-path path)) 188 (add-to-list 'exec-path path))
186#+end_src 189#+end_src
187 190