Skip to content

Instantly share code, notes, and snippets.

@wiredfool
Created December 15, 2015 11:27
Show Gist options
  • Save wiredfool/36d728c481b10da492c8 to your computer and use it in GitHub Desktop.
Save wiredfool/36d728c481b10da492c8 to your computer and use it in GitHub Desktop.
Make M-x grep work with Emacs/Windows when Babun is installed
;; Make M-x grep work with Emacs/Windows when Babun is installed
;; Put in your .emacs file.
(when (string-equal system-type "window-nt")
(progn
(setq babun-bin (concat (getenv "HOMEDRIVE") (getenv "HOMEPATH") "\\.babun\\cygwin\\bin")
(setenv "PATH" (concat (getenv "PATH") ";" babun-bin))
))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment