Remove linux-prerequisite by using bash

There are some minor fixes included as well. I attempted to keep the
commits distinct and reviewable individually, since the overall diff is
a bit messy.

* Minor style, convention, and consistency changes
* Remove two zsh-isms
* Change shebang
* Merge/remove prerequisite script

The linux test passes, but I'm unable to vet the mac side.