summaryrefslogtreecommitdiff
path: root/plugins/vundle/vundle.plugin.zsh
diff options
context:
space:
mode:
authorDawid Ferenczy <dawid@ferenczy.cz>2015-08-25 16:34:04 +0200
committerDawid Ferenczy <dawid@ferenczy.cz>2015-08-25 16:34:04 +0200
commit18ef1ee6481dbeca4fbecf3de627f946860ffd5a (patch)
treecb07e72538c470bb486596d955c7912c5b05e23e /plugins/vundle/vundle.plugin.zsh
parenteafd5f325208421b82a770e57441dd1063eb5745 (diff)
parent192de6bcffb0294e19f4203f6f7dc1a7f3e427be (diff)
downloadzsh-18ef1ee6481dbeca4fbecf3de627f946860ffd5a.tar.gz
zsh-18ef1ee6481dbeca4fbecf3de627f946860ffd5a.tar.bz2
zsh-18ef1ee6481dbeca4fbecf3de627f946860ffd5a.zip
Merge remote-tracking branch 'robbyrussell/master'
Diffstat (limited to 'plugins/vundle/vundle.plugin.zsh')
-rw-r--r--plugins/vundle/vundle.plugin.zsh8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/vundle/vundle.plugin.zsh b/plugins/vundle/vundle.plugin.zsh
index 936c8d7d2..fa1911477 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"
@@ -13,15 +13,15 @@ function vundle-init () {
function vundle () {
vundle-init
- vim -c "execute \"BundleInstall\" | q | q"
+ vim -c "execute \"PluginInstall\" | qa"
}
function vundle-update () {
vundle-init
- vim -c "execute \"BundleInstall!\" | q | q"
+ vim -c "execute \"PluginInstall!\" | qa"
}
function vundle-clean () {
vundle-init
- vim -c "execute \"BundleClean!\" | q | q"
+ vim -c "execute \"PluginClean!\" | qa"
}