Prevent Vim updates from happening too often.

This commit is contained in:
Scott Wallace 2016-03-11 19:38:50 +00:00
parent 45c3dae58d
commit d9634565e4

View file

@ -96,9 +96,12 @@ fi
#------------------------------- #-------------------------------
#------------------------------- #-------------------------------
# Ensure Vim plugins are up-to-date # Ensure Vim plugins are up-to-date, if older than one day
#------------------------------- #-------------------------------
find .vim/updated -mtime +0 -exec bash -c "\
vim +PluginInstall! +PluginClean! +qall vim +PluginInstall! +PluginClean! +qall
touch .vim/updated
" \;
#------------------------------- #-------------------------------
echo "#-------------------------------" echo "#-------------------------------"