check for $MYVIMRC existence

This commit is contained in:
gmarik 2011-04-23 02:25:58 -05:00
parent 8565792679
commit ac7d519e2b

View File

@ -46,7 +46,7 @@ endf
func! s:reload_bundles()
" TODO: obtain Bundles without sourcing .vimrc
silent source $MYVIMRC
if filereadable($MYVIMRC)| silent source $MYVIMRC | endif
if filereadable($MYGVIMRC)| silent source $MYGVIMRC | endif
return g:bundles
endf