set CHERE_INVOKING when launching Cygwin from vim

This commit is contained in:
Josh Holtrop 2013-04-17 11:49:50 -04:00
parent 6059d522ee
commit 8b8c594564

1
vimrc
View File

@ -55,6 +55,7 @@ if has("win32") || has("win64")
if filereadable('C:/cygwin/bin/bash.exe') if filereadable('C:/cygwin/bin/bash.exe')
set shell=C:/cygwin/bin/bash.exe set shell=C:/cygwin/bin/bash.exe
set shellcmdflag=--login\ -c set shellcmdflag=--login\ -c
let $CHERE_INVOKING=1
endif endif
endif endif