Separate config is a luxory
This commit is contained in:
parent
f27d54f876
commit
ae175c66ce
@ -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)
|
||||||
|
@ -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() {
|
||||||
|
Loading…
Reference in New Issue
Block a user