davecheney/golang-crosscompile — pull request #2 by cespare (2012-09-26 03:02:19+00:00)
Title: Fixes for zsh and environment variables

This change fixes two things:

* Works in zsh
* Doesn't introduce any variables or functions into the user's shell environment that aren't needed by the user (the "private variables" of the script)

I've also updated the readme to include usage directions, because usage changes slightly. To avoid introducing variables/functions, I made the script output shell code which the user sources in their environment.