-
-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Fix micromamba not initializing shell #44646
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
Conversation
|
I branched from my previous commit, but I am seeing that they are not merged on main yet which is why the history is there. You can ignore it and just focus on the latest commit. |
|
You'll need to rebase this onto main, we use a squash workflow so the history changes after a merge |
bbbb1fa to
03b0a8f
Compare
|
I made a big mess but restored it now I think. Changes are minor. |
|
I will rebase -- one moment please. |
6252305 to
82a8bc0
Compare
82a8bc0 to
5c3c9dd
Compare
|
Sorry for the mess the changes are clean now -- need to get some coffee -_- |
crates/languages/src/python.rs
Outdated
| let env_name = toolchain.environment.name.as_deref().unwrap_or("base"); | ||
| activation_script.push(format!("{manager} activate {env_name}")); | ||
|
|
||
| if let Some(name) = &toolchain.environment.name { | ||
| activation_script.push(format!("{manager} activate {name}")); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That change looks unnecessary, we already push that activate invocation here after all
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You are right -- think this is a remnant of the rebase shenaningans. Will fix
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be good @Veykril
Veykril
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Closes zed-industries#44645 This is a continuation of zed-industries#40577 Release Notes: - initializes micromamba based on the shell
|
@Klaim - might want to check this out for micromamba and conda support in Zed |
Closes #44645
This is a continuation of #40577
Release Notes: