Merge pull request #850 from nandalopes/fix-845
Fix #845 Vim suspends in some times
This commit is contained in:
@@ -1,4 +1,11 @@
|
|||||||
" Set the shell to bash so we inherit its path, to make sure
|
" Set the shell to bash so we inherit its path, to make sure
|
||||||
" we inherit its path. This affects :Rtags finding the right
|
" we inherit its path. This affects :Rtags finding the right
|
||||||
" path to homebrewed ctags rather than the XCode version of ctags
|
" path to homebrewed ctags rather than the XCode version of ctags
|
||||||
set shell=bash\ -i
|
"
|
||||||
|
" Use login Shell instead of interactive shell to avoid
|
||||||
|
" vimdiff suspended at startup
|
||||||
|
if has("gui_running")
|
||||||
|
set shell=bash\ -i
|
||||||
|
else
|
||||||
|
set shell=bash\ -l
|
||||||
|
endif
|
||||||
|
|||||||
Reference in New Issue
Block a user