Skip to content

Instantly share code, notes, and snippets.

@robinwo
Created July 21, 2015 09:27
Show Gist options
  • Select an option

  • Save robinwo/c1e33547ca9abc644d27 to your computer and use it in GitHub Desktop.

Select an option

Save robinwo/c1e33547ca9abc644d27 to your computer and use it in GitHub Desktop.
Update deps (brew / composer) on startup
#!/bin/zsh
## updating brews
echo "::: Updating brews :::"
brew -v update && brew -v upgrade && brew -v cleanup && brew -v prune && brew -v doctor
echo "::: Updating composer :::"
composer self-update
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment