http://qs321.pair.com?node_id=658261


in reply to Changing parent process environment variable

I don't know that it is possible to change the parent shell's environment variables. Why are you trying to do this?

Perhaps another approach would be to exec a new shell with the environment you want?