From ae175c66ceba26cbfddd53bdfcaabf6d9cae3cee Mon Sep 17 00:00:00 2001 From: gmarik Date: Sat, 30 Oct 2010 20:35:37 -0500 Subject: [PATCH] Separate config is a luxory --- autoload/vundle.vim | 5 ----- vundle_test.sh | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) 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() {