Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

configuration for msysgit bash inside emacs on windows

Tags:

emacs

msysgit

What do you add to your .emacs file to use msysgit bash inside emacs ?
I just modified the cygwin instructions for msysgit replace cygwin with msysgit everywhere in these .
The only thing i can't do is run ssh or vim inside the bash...
directory completions work with windows style drive names prepended at the beginning.

like image 251
Naveen Avatar asked Nov 06 '22 04:11

Naveen


1 Answers

Add this to your "_emacs.el" - it works for me:

;; When running in Windows, we want to use an alternate shell so we
;; can be more unixy.
(setq shell-file-name "C:/Program Files/msysgit/bin/bash")
(setq explicit-shell-file-name shell-file-name)
like image 150
Morten Mathiasen Avatar answered Nov 09 '22 07:11

Morten Mathiasen