Skip to content

Instantly share code, notes, and snippets.

@botanicus
Created May 29, 2019 14:49
Show Gist options
  • Save botanicus/aaa4f69e3c6d6267cfa97adde3525aaa to your computer and use it in GitHub Desktop.
Save botanicus/aaa4f69e3c6d6267cfa97adde3525aaa to your computer and use it in GitHub Desktop.
#!/bin/sh
#echo "~ OS X updates."
#sudo softwareupdate -i -a
echo "~ Homebrew updates."
brew update && brew upgrade && brew cleanup && brew services cleanup
echo "~ Homebrew Cask updates."
brew cask upgrade && brew cask cleanup
if which npm; then
echo "~ NPM updates."
npm install npm -g
npm update -g
fi
echo "~ Vim updates."
nvim -c PlugUpdate -c PlugUpgrade -c PlugClean -c quitall
echo "~ RubyGems updates."
sudo gem update --system && sudo gem cleanup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment