Can not change the PATH in deactivate.d/env_vars.sh script #13879
Labels
pending::feedback
indicates we are waiting on feedback from the user
source::community
catch-all for issues filed by community members
type::support
neither a bug nor feature, is really just a user having questions or difficulty somewhere
Checklist
What happened?
I need to have a certain path added to my PATH environmental variable only whilst in a specific conda environment. I have added it as follows:
this adds the path to the variable without any problems. Now as the path is not important for other tasks, as it requires a set of other set environmental variables. I want to remove this on deactivation: Which i try to do as follows:
When one now attempts to
echo $PATH
I will receive PATH still including the path i wanted to remove.If i do
echo $test
I will obtain the collection of paths with the path removed.I think this might be a bug with conda as it seems to work when executed as a normal bash file.
Conda Info
Conda Config
Conda list
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: