RefreshEnv for bash

There is a need for a bash refreshenv like the RefreshEnv.cmd which choco provides.

I have a basic version working at

Besides all the usual caveats that it is a POC and can be broken with strange syntax, the one outstanding technical problem is non-ascii variable values are likely to behave oddly. And the other significant source of breakages will be a single quote in TRAVIS_COMMIT_MESSAGE , or any other multiline value. I’ll fix these and any others people can spot quickly, tidy, and drop it into a gist for now unless someone points out a better spot for it.

1 Like