Skip to content

Instantly share code, notes, and snippets.

@wfarr
Created December 10, 2008 00:12
Show Gist options
  • Save wfarr/34158 to your computer and use it in GitHub Desktop.
Save wfarr/34158 to your computer and use it in GitHub Desktop.
;; Beat the damn PATH into shape
(setq my-exec-path '("/usr/texbin" "/usr/local/bin" "/Applications/Emacs.app/Contents/Resources/bin"))
(map 'nil '(lambda (item) (setq exec-path (cons item exec-path))) my-exec-path)
(setenv "PATH" (mapconcat 'identity exec-path path-separator))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment