diff --git a/autoload/vundle.vim b/autoload/vundle.vim index cc0fdee..0d43b2a 100644 --- a/autoload/vundle.vim +++ b/autoload/vundle.vim @@ -34,11 +34,6 @@ endf func! vundle#rc() let &rtp = join(filter(split(&rtp, ','),'v:val !~# g:bundle_dir'), ',') - " TODO: Do we need this? - let bundlerc = expand('~/.vim/bundlerc') - if filereadable(expand(bundlerc)) - exec 'silent! so '.bundlerc - endif endf func! vundle#require_bundle(bundle) diff --git a/vundle_test.sh b/vundle_test.sh index e37617e..0af19a4 100755 --- a/vundle_test.sh +++ b/vundle_test.sh @@ -9,7 +9,7 @@ setup() { install() { vim -e -c "BundleInstall" -c "q" # echo -en "Setup: " ; [ -s $HOME/.vim/autoload/vundle.vim ] && echo "ok" || echo "fail" - echo -en 'Install:'; [ -d $HOME/.vim/bundle ] && [ "$(ls -1 -d ~/.vim/bundle/*|wc -l)" = "$(grep ^Bundle ~/.vim/bundlerc|wc -l)" ] && echo 'ok' || echo 'fail' + echo -en 'Install:'; [ -d $HOME/.vim/bundle ] && [ "$(ls -1 -d ~/.vim/bundle/*|wc -l)" = "$(grep ^Bundle ~/.vim/vimrc|wc -l)" ] && echo 'ok' || echo 'fail' } test() {