diff --git a/.bashrc b/.bashrc index 8f34f15..a099abc 100755 --- a/.bashrc +++ b/.bashrc @@ -138,12 +138,6 @@ if [ -z "${SSH_AUTH_SOCK}" ]; then fi #-------------------------------------------------------------------------------- -#-------------------------------------------------------------------------------- -# Update software if it's been longer than one day -#-------------------------------------------------------------------------------- -( find ~/var/log -name update.log -mtime +0 -exec ~/bin/software-install.sh \; >> ~/var/log/update.log 2>&1 & ) -#-------------------------------------------------------------------------------- - #-------------------------------------------------------------------------------- # Run local .bashrc for any local-only commands #-------------------------------------------------------------------------------- diff --git a/bin/software-install.sh b/bin/software-install.sh index 5408c4c..75e9d46 100755 --- a/bin/software-install.sh +++ b/bin/software-install.sh @@ -121,8 +121,7 @@ fi #------------------------------- # Ensure Vim plugins are up-to-date #------------------------------- -vim -T dumb +PluginInstall! +PluginClean! +qall 2>/dev/null |\ - sed -E s/'\[[0-9]{1,2};[0-9]{1,2}[mKH]'//g +vim +PluginInstall! +PluginClean! +qall #------------------------------- echo "#-------------------------------"