From e992da2ad0327881adcf503a758a4d346399297c Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Wed, 2 Dec 2020 18:41:43 -0600 Subject: 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. --- config.org | 11 +++++++---- 1 file 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 #+begin_src emacs-lisp :tangle early-init.el (when (eq system-type 'windows-nt) - (dolist (path '("C:/Users/aduckworth/Downloads/PortableGit/bin" + (dolist (path '("c:/Users/aduckworth/Downloads/emacs/bin" + "C:/Users/aduckworth/Downloads/PortableGit/bin" "C:/Users/aduckworth/Downloads/PortableGit/usr/bin")) (add-to-list 'exec-path path))) #+end_src @@ -179,9 +180,11 @@ When using Windows (at work), I need to use the PortableGit installation I've do Elsewhere, I want to add a few more paths to the =exec-path= as well, since I store scripts in a couple of places at ~. #+begin_src emacs-lisp :tangle early-init.el - (dolist (path '("~/bin" - "~/.local/bin" - "~/Scripts")) + (dolist (path `(,(expand-file-name "bin" + user-emacs-directory) + ,(expand-file-name "~/bin") + ,(expand-file-name "~/.local/bin") + ,(expand-file-name "~/Scripts"))) (add-to-list 'exec-path path)) #+end_src -- cgit 1.4.1-21-gabe81