Fix #845 Vim suspends in some times

This commit is contained in:
Nanda Lopes
2020-11-08 15:44:00 -03:00
committed by Nanda Lopes
parent 47d4ac0039
commit e5231570c3

View File

@@ -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
"
" Use login Shell instead of interactive shell to avoid
" vimdiff suspended at startup
if has("gui_running")
set shell=bash\ -i set shell=bash\ -i
else
set shell=bash\ -l
endif