Created
September 21, 2015 19:27
-
-
Save ivar/b8e7cb20785d0eec0a3f to your computer and use it in GitHub Desktop.
Ivar's system upgrade script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
puts "---- updating oh-my-zsh ---------------------------------" | |
puts `cd ~/.oh-my-zsh && git fetch && git rebase origin/master` | |
puts "---- updating rbenv ---------------------------------" | |
puts `cd ~/.rbenv && git pull && cd plugins/ruby-build && git pull` | |
puts "---- updating vim plugins ---------------------------------" | |
puts `cd ~/Work/dotfiles && git submodule foreach git pull origin master` | |
puts "---- updating brewed apps ---------------------------------" | |
puts `brew update && brew upgrade && brew cleanup` | |
puts "---- updating brewed cask apps ---------------------------------" | |
puts `brew upgrade brew-cask && brew cask cleanup` | |
puts "---- updating heroku cli plugins ---------------------------------" | |
puts `heroku plugins:update` | |
puts "---- updating spacemacs ---------------------------------" | |
puts `cd ~/.emacs.d && git pull --rebase && git submodule sync; git submodule update` | |
puts "---- finding system updates ---------------------------------" | |
puts `softwareupdate --list` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment