diff options
author | Pieter Kokx <pieter@kokx.nl> | 2013-11-08 10:11:38 +0100 |
---|---|---|
committer | ncanceill <nicolas.canceill@ens-cachan.org> | 2014-06-08 10:46:33 +0200 |
commit | 519d37fc389e1f2faec6fd34cb8ee64a35fa154e (patch) | |
tree | 3919a1eba60752fca52274a49030b2e382980ea6 /plugins/vundle | |
parent | aee8877988e4cf2de907550e2561a4793fa00496 (diff) | |
download | zsh-519d37fc389e1f2faec6fd34cb8ee64a35fa154e.tar.gz zsh-519d37fc389e1f2faec6fd34cb8ee64a35fa154e.tar.bz2 zsh-519d37fc389e1f2faec6fd34cb8ee64a35fa154e.zip |
Vundle plugin now works with submodules.
If you are using a submodule, ~/.vim/bundle/vundle/.git is a file,
not a directory. So I changed the test for that.
Diffstat (limited to 'plugins/vundle')
-rw-r--r-- | plugins/vundle/vundle.plugin.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/vundle/vundle.plugin.zsh b/plugins/vundle/vundle.plugin.zsh index 936c8d7d2..830774fe3 100644 --- a/plugins/vundle/vundle.plugin.zsh +++ b/plugins/vundle/vundle.plugin.zsh @@ -4,7 +4,7 @@ function vundle-init () { mkdir -p ~/.vim/bundle/vundle/ fi - if [ ! -d ~/.vim/bundle/vundle/.git/ ] + if [ ! -d ~/.vim/bundle/vundle/.git ] && [ ! -f ~/.vim/bundle/vundle/.git ] then git clone http://github.com/gmarik/vundle.git ~/.vim/bundle/vundle echo "\n\tRead about vim configuration for vundle at https://github.com/gmarik/vundle\n" |