Emacs + Bash on Windows

This is my second week working for my previous client, Platt Electric. It's tough working on a Windows desktop again, but I discovered a few new tricks to make it even more Unix-like.

Pretty excited about having Bash inside Emacs inside Windows. Without Bash, Emacs for Windows was kind of half-ass.

I added a couple commands to my .emacs file to make it happen:

;; For the interactive shell
(setq explicit-shell-file-name "c:/bin/cygwin/bin/bash.exe")

;; For subprocesses invoked via the shell (e.g., "shell -c command")
(setq shell-file-name "c:/bin/cygwin/bin/bash.exe")

Cygwin is required for this.

Yay!!!