I have a script at /venv/bin/activate
that sets some environment variables. I’m looking for a way to start zsh, have it source this script, and then continue with a normal interactive session. When I exit this session, the session I return to should not know about any of the environment changes that activate
made. How can I invoke zsh like this?
(This is pretty much the same question as this one, except that I’m using zsh instead of bash.)