Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PR 816 Broke Anaconda Activation Support on Windows #818

Closed
joeyame opened this issue Apr 13, 2024 · 0 comments · Fixed by #820
Closed

PR 816 Broke Anaconda Activation Support on Windows #818

joeyame opened this issue Apr 13, 2024 · 0 comments · Fixed by #820

Comments

@joeyame
Copy link

joeyame commented Apr 13, 2024

Today I came across the Anaconda activation scripts and chose to use the nu_conda_2 variant. After following the setup instructions, I could not get the command to work. At best, when I removed conda from my path, I could type conda conda activate X to run the activate function.

Looking into the history of the file, yesterday (what are the odds?) a PR went in which was intended to make the command: conda activate instead of activate. This was #816, by @MilesCranmer.

My initial guess is that Miles uses linux while I am using Windows, which means nushell is behaving differently on the two platforms for this specific case.

This script should be updated to possibly support both variants (before and after #816), because I had to go to a previous version of the file to get it to work on Windows. With the previous version, conda activate works as expected on Windows

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant