set CHERE_INVOKING when launching Cygwin from vim

This commit is contained in:
josh committed 2013-04-17 11:50:20 -04:00
1 parent 6059d522ee
commit 8b8c594564
1 file changed
+1
+1
View File
@@ -55,6 +55,7 @@ if has("win32") || has("win64")
if filereadable('C:/cygwin/bin/bash.exe')
set shell=C:/cygwin/bin/bash.exe
set shellcmdflag=--login\ -c
let $CHERE_INVOKING=1
endif
endif