Prevent Vim updates from happening too often.
This commit is contained in:
parent
45c3dae58d
commit
d9634565e4
|
@ -96,9 +96,12 @@ fi
|
||||||
#-------------------------------
|
#-------------------------------
|
||||||
|
|
||||||
#-------------------------------
|
#-------------------------------
|
||||||
# Ensure Vim plugins are up-to-date
|
# Ensure Vim plugins are up-to-date, if older than one day
|
||||||
#-------------------------------
|
#-------------------------------
|
||||||
vim +PluginInstall! +PluginClean! +qall
|
find .vim/updated -mtime +0 -exec bash -c "\
|
||||||
|
vim +PluginInstall! +PluginClean! +qall
|
||||||
|
touch .vim/updated
|
||||||
|
" \;
|
||||||
#-------------------------------
|
#-------------------------------
|
||||||
|
|
||||||
echo "#-------------------------------"
|
echo "#-------------------------------"
|
||||||
|
|
Loading…
Reference in a new issue