gist.github.com does this!
47 karma · joined August 14, 2013
I'm guessing everyone wants something slightly different and it would be pointless for Go to have One Way hence all the alternatives here.
https://github.com/ChuckHa/goenv/tree/inve
I'm not sure I like it better though because it unsets $PS1 and other variables that get set in .bash_profile.