set CHERE_INVOKING when launching Cygwin from vim
This commit is contained in:
parent
6059d522ee
commit
8b8c594564
1
vimrc
1
vimrc
@ -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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user