This comment has been minimized.
This comment has been minimized.Show comment Hide comment
I'm far from a bash expert, but my understanding is that exports in scripts only affect child processes of that script, but not the parent environment. This was a surprise to me.
If I run
My testing has confirmed this, but I could easily have missed something about how bash works.