diff --git a/.bashrc b/.bashrc index 31f267c..2e0c238 100644 --- a/.bashrc +++ b/.bashrc @@ -120,7 +120,13 @@ fi # Update brew if it's older than one day #-------------------------------------------------------------------------------- if [ -x /usr/local/bin/brew ]; then - ( find /usr/local/.git -name FETCH_HEAD -mtime +0 -exec brew update \; >> ~/var/log/brew-update.log 2>&1 & ) + ( + find /usr/local/.git -name FETCH_HEAD -mtime +0 -exec \ + bash -c "echo \"--Start: $(date)\"; \ + brew update; \ + echo \"--End: $(date)\"" \ + \; >> ~/var/log/brew-update.log 2>&1 & + ) fi #--------------------------------------------------------------------------------