Skip to content

Instantly share code, notes, and snippets.

@inoas
Created August 7, 2018 07:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save inoas/764746503af3f175ccc8ee1b074be3cd to your computer and use it in GitHub Desktop.
Save inoas/764746503af3f175ccc8ee1b074be3cd to your computer and use it in GitHub Desktop.
~/bin/brew-maintain
#!/bin/bash
echo 'brew...' \
&& echo '• update' \
&& brew update \
&& echo '• upgrade' \
&& brew upgrade \
&& echo '• cleanup' \
&& brew cleanup \
&& echo '• prune' \
&& brew prune \
&& echo '• list' \
&& brew list \
&& echo '• doctor' \
&& brew doctor \
;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment