summaryrefslogtreecommitdiff
path: root/plugins/vundle
diff options
context:
space:
mode:
authorRobby Russell <robby@planetargon.com>2011-10-10 05:30:55 -0700
committerRobby Russell <robby@planetargon.com>2011-10-10 05:30:55 -0700
commit11a0c33323c9764eb716466f44537dac3fe19295 (patch)
tree2544af731dee50a804f7c4987c60419ade8c1225 /plugins/vundle
parentcc82ac1ed6406ed3c488252df61894d3e9d16526 (diff)
parent8a31ae51370ad53a1d02f8d32ca02d8093acea48 (diff)
downloadzsh-11a0c33323c9764eb716466f44537dac3fe19295.tar.gz
zsh-11a0c33323c9764eb716466f44537dac3fe19295.tar.bz2
zsh-11a0c33323c9764eb716466f44537dac3fe19295.zip
Merge pull request #441 from Gonzih/master
Create gnzh theme and vundle plugin
Diffstat (limited to 'plugins/vundle')
-rw-r--r--plugins/vundle/vundle.plugin.zsh23
1 files changed, 23 insertions, 0 deletions
diff --git a/plugins/vundle/vundle.plugin.zsh b/plugins/vundle/vundle.plugin.zsh
new file mode 100644
index 000000000..005a58476
--- /dev/null
+++ b/plugins/vundle/vundle.plugin.zsh
@@ -0,0 +1,23 @@
+function vundle-init () {
+ if [ ! -d ~/.vim/bundle/vundle/ ]
+ then
+ mkdir -p ~/.vim/bundle/vundle/
+ fi
+
+ if [ ! -d ~/.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"
+ fi
+}
+
+function vundle () {
+ vundle-init
+ vim -c "execute \"BundleInstall\" | q | q"
+}
+
+
+function vundle-update () {
+ vundle-init
+ vim -c "execute \"BundleInstall!\" | q | q"
+}