diff --git a/bin/software-install b/bin/software-install index 6fb6e0d..c3692ac 100755 --- a/bin/software-install +++ b/bin/software-install @@ -73,7 +73,6 @@ function install_Darwin_software { brew upgrade brew cleanup brew bundle --global check - cask-upgrade -y && cask-tidy brew cask cleanup #------------------------------- @@ -92,15 +91,6 @@ echo "#-------------------------------" install_$(uname -s)_software configure_$(uname -s)_software -#------------------------------- -# Ensure Vim plugins are up-to-date, if older than one day -#------------------------------- -find ~/.vim/updated -mtime +0 -exec bash -c "\ - vim +PluginInstall! +PluginClean! +qall - touch ~/.vim/updated -" \; -#------------------------------- - echo "#-------------------------------" echo "# END: $(date)" echo "#-------------------------------" diff --git a/bin/upgrade-vim b/bin/upgrade-vim new file mode 100755 index 0000000..f4aa49a --- /dev/null +++ b/bin/upgrade-vim @@ -0,0 +1,4 @@ +find ~/.vim/updated -mtime +0 -exec bash -c "\ + vim +PluginInstall! +PluginClean! +qall + touch ~/.vim/updated +" \;