Bash alias for updating all software

Sometimes I get on these hour long rabbit hole digs into other peoples dot files on GitHub, with that being said I have come across some pretty handy aliases and such that I thought I should share periodically as some of them are pretty useful.

The following I have added to my .bash_profile and its pretty handy when you want to fire off a system update. Not only OS X apps, but homebrew and ruby gems all from the command line.

alias update='sudo softwareupdate -i -a; brew update; brew upgrade; brew cleanup; sudo gem update'