Created
April 21, 2014 20:11
-
-
Save DinoChiesa/11154958 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
;; fixup path | |
;; for each directory in the list, if it exists, and is not already | |
;; present on the path, add it to path. | |
(let ((path-elts (split-string (getenv "PATH") ":"))) | |
(dolist (path '("/usr/local/bin" | |
"/Library/Frameworks/Mono.framework/Versions/Current/bin")) | |
(and (file-directory-p path) | |
(not (member path path-elts)) | |
(setenv "PATH" (concat (getenv "PATH") ":" path))))) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment