You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've followed the https://github.com/gmarik/vundle quick start guide and letting vundle to manage vundle, I maintain my dotfiles under git, so in order to verify if it will work in others computers I've deleted .vimrc and .vim to reproduce my setup.
I've added .vimrc and .vim/bundle/vundle/autoload to my git repository, and I've cloned it, however when I enter to vim and run :BundleInstall it fails only for vundle, the log print the following:
"fatal: destination path vundle already exists and is not an empty directory."
My settings are these:
set runtimepath+=~/.vim/bundle/vundle/
call vundle#rc()
I've had to delete it and clone it manually to get it working
I think it would be really cool if vundle could manage in a better way the chicken or egg problem, maybe by forcing to clone the vundle repo if its manage for itself.
Thanks and sry for the complaints, it's as it's an awesome script
The text was updated successfully, but these errors were encountered:
Rather than adding vundle to your own git repo, I suggest adding something like this to your vimrc and keep vundle completely unmanaged by your git repo.
if !isdirectory(expand("~/.vim/bundle/vundle/.git"))
!git clone https://github.com/gmarik/vundle ~/.vim/bundle/vundle
endif
Well, I think than it'll also work that way, I'll manage it like that
It seems like when expanding dirs it needs to be nested, the following worked in my system:
if !isdirectory(expand(expand("~/.vim/bundle/vundle/.git/")))
1 hour after...
Actually, what I'll be using will be:
if !isdirectory(expand(expand("~/.vim/bundle/vundle/.git/")))
"call inputsave()
echon "Setting up vundle, this may take a while, wanna continue? (y/n): "
if nr2char(getchar()) ==? 'y'
!git clone https://github.com/gmarik/vundle ~/.vim/bundle/vundle
endif
"call inputrestore()
endif
@chilicuil, why did you add .vim/bundle/vundle/autoload dir to you git repo instead bundle/vundle dir?
Vundle checks for .git to be present in a bundle/some_bundle/.
Since your setup doesn't follow this pattern it makes Vundle fail.
Add bundle/vundle to your repo(making sure bundle/vundle/.git is present) and it will work as expected.
I've followed the https://github.com/gmarik/vundle quick start guide and letting vundle to manage vundle, I maintain my dotfiles under git, so in order to verify if it will work in others computers I've deleted .vimrc and .vim to reproduce my setup.
I've added .vimrc and .vim/bundle/vundle/autoload to my git repository, and I've cloned it, however when I enter to vim and run :BundleInstall it fails only for vundle, the log print the following:
"fatal: destination path vundle already exists and is not an empty directory."
My settings are these:
set runtimepath+=~/.vim/bundle/vundle/
call vundle#rc()
I've had to delete it and clone it manually to get it working
I think it would be really cool if vundle could manage in a better way the chicken or egg problem, maybe by forcing to clone the vundle repo if its manage for itself.
Thanks and sry for the complaints, it's as it's an awesome script
The text was updated successfully, but these errors were encountered: