check for $MYVIMRC existence
This commit is contained in:
parent
8565792679
commit
ac7d519e2b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user