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

This commit is contained in:
Josh Holtrop 2012-12-11 10:36:50 -05:00
parent 83273d0524
commit b3e7f536db

4
vimrc
View File

@ -52,6 +52,10 @@ endif
if has("win32") || has("win64") if has("win32") || has("win64")
set directory=$TMP set directory=$TMP
if filereadable('C:/cygwin/bin/bash.exe')
set shell=C:/cygwin/bin/bash.exe
set shellcmdflag=--login\ -c
endif
endif endif
" mappings " mappings