export sets the variable for the whole terminal session, the way I have it in the post sets it for the process that's going to run, so it'd work both ways