More shallow clones

Sat, 21 Jan 2017 21:39:49 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Sat, 21 Jan 2017 21:39:49 -0500
changeset 483
1c0402e3db25
parent 482
2c7cb331d2dc
child 484
a32d6511d251

More shallow clones

.vimrc file | annotate | diff | comparison | revisions
--- a/.vimrc
+++ b/.vimrc
@@ -23,10 +23,10 @@ let s:filename=expand('<sfile>')
     echo "Installing Vundle and Plugins...\n"
     if s:on_windows == 0
       silent !mkdir -p ~/.vim/bundle
-      silent !git clone https://github.com/gmarik/vundle ~/.vim/bundle/vundle
+      silent !git clone --depth 1 https://github.com/gmarik/vundle ~/.vim/bundle/vundle
     else
       silent execute '!mkdir "'. $HOME .'\vimfiles\bundle"'
-      silent execute '!git clone https://github.com/gmarik/vundle "'. $HOME .'\vimfiles\bundle\vundle"'
+      silent execute '!git clone --depth 1 https://github.com/gmarik/vundle "'. $HOME .'\vimfiles\bundle\vundle"'
     endif
     let s:installed_vundle=1
   endif
@@ -88,7 +88,7 @@ let s:filename=expand('<sfile>')
 
   if s:installed_vundle == 1
     echo "Installing Plugins, please ignore key map error messages\n"
-    call PluginInstall
+    :PluginInstall
   endif
 " }}}
 

mercurial