Skip to content

Instantly share code, notes, and snippets.

@tjluoma
Last active August 29, 2015 14:02
Show Gist options
  • Save tjluoma/35ae63022bb5efeb5323 to your computer and use it in GitHub Desktop.
Save tjluoma/35ae63022bb5efeb5323 to your computer and use it in GitHub Desktop.
#!/bin/zsh -f
NAME="$0:t:r"
export PATH=/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
(di-xquartz.sh && \
brew update && \
brew upgrade && \
brew doctor) 2>&1 |\
tee -a "$HOME/Library/Logs/$NAME.log"
exit 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment