on Windows, use cygwin bash as shell if it's installed

This commit is contained in:
josh committed 2012-12-11 10:36:50 -05:00
1 parent 83273d0524
commit b3e7f536db
1 file changed
+4
+4
View File
@@ -52,6 +52,10 @@ endif
if has("win32") || has("win64")
set directory=$TMP
if filereadable('C:/cygwin/bin/bash.exe')
set shell=C:/cygwin/bin/bash.exe
set shellcmdflag=--login\ -c
endif
endif
" mappings