Closed HenningTimm closed 5 years ago
Hey @HenningTimm -- thanks for reporting! Sorry for the delay, I was traveling and am catching up on email. I really don't understand what's going on here, hopefully sleeping on it will provide some clarity. I would definitely understand if neither of your aliases worked, but having one work and the other fail is very, very weird.
For a workaround, you can do the following:
from xontrib.xonda import _deactivate
aliases['csd'] = _deactivate
@gforsyth Thank you for the reply. The workaround is working fine. As far as I am concerned, you can assign a very low priority to this when catching up.
In my .xonshrc I define two aliases, because I am too lazy to type out
conda (de)activate
:The first alias is working fine and I can activate environments like this:
However, when I want to exit the environment using my alias, the unwrapped conda is used and I get an error. Using the same command (but not as an alias) works:
Any idea what is going wrong here?