From 380764bd0d7e03cf1d38f51fac4b8a88d4f1ac93 Mon Sep 17 00:00:00 2001 From: jowj Date: Thu, 13 Jun 2019 12:21:15 -0500 Subject: [PATCH] Fix more idiot path issues in macOS - now I remember what that stupid commented out block was for. - I hate myself lmao. --- applicationConfiguration/.emacs/jlj-init.org | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/applicationConfiguration/.emacs/jlj-init.org b/applicationConfiguration/.emacs/jlj-init.org index c8b3ebd..b8890bb 100644 --- a/applicationConfiguration/.emacs/jlj-init.org +++ b/applicationConfiguration/.emacs/jlj-init.org @@ -32,14 +32,17 @@ This helps with work-device configuration, as well as handling a specific window browse-url-generic-program "open" browse-url-generic-args '("-a" "Firefox"))) - ;; (if (eq system-type 'windows-nt) - ;; (message "i am windows and suck") ; deal with mac command key problems - ;; (exec-path-from-shell-copy-env "PATH")) + (if (eq system-type 'windows-nt) + (message "i am windows and suck") ; deal with mac command key problems + (exec-path-from-shell-copy-env "PATH")) - (if (string-equal "darwin" (symbol-name system-type)) - (setenv "PATH" (concat "/usr/local/bin:/usr/local/sbin:" (getenv "PATH")))) + ;; (if (string-equal "darwin" (symbol-name system-type)) + ;; (setenv "PATH" (concat "/usr/local/bin:/usr/local/sbin:" (getenv "PATH")))) #+END_SRC +#+RESULTS: +: /opt/local/bin:/opt/local/sbin:/Users/jowj/Library/Python/3.6/bin:/usr/local/share/python:/usr/local/bin:/usr/local/lib/python3.7/site-packages:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/opt/local/bin:/opt/local/sbin:/Users/jowj/Library/Python/3.6/bin:/usr/local/share/python:/Applications/Emacs.app/Contents/MacOS/bin-x86_64-10_14:/Applications/Emacs.app/Contents/MacOS/libexec-x86_64-10_14 + * custom functions, package independent hotkeys. #+BEGIN_SRC emacs-lisp