Separate config is a luxory

This commit is contained in:
gmarik 2010-10-30 20:35:37 -05:00
parent f27d54f876
commit ae175c66ce
2 changed files with 1 additions and 6 deletions

View File

@ -34,11 +34,6 @@ endf
func! vundle#rc() func! vundle#rc()
let &rtp = join(filter(split(&rtp, ','),'v:val !~# g:bundle_dir'), ',') 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 endf
func! vundle#require_bundle(bundle) func! vundle#require_bundle(bundle)

View File

@ -9,7 +9,7 @@ setup() {
install() { install() {
vim -e -c "BundleInstall" -c "q" vim -e -c "BundleInstall" -c "q"
# echo -en "Setup: " ; [ -s $HOME/.vim/autoload/vundle.vim ] && echo "ok" || echo "fail" # 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() { test() {