Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Fix Conda activation error appearing during task execution (#48736)

feeiyuc13171390138
diff --git a/crates/project/src/terminals.rs b/crates/project/src/terminals.rs
index 475ba2ce0f5..6efddcdf772 100644
--- a/crates/project/src/terminals.rs
+++ b/crates/project/src/terminals.rs
@@ -181,7 +181,7 @@ impl Project {
let to_run = format_to_run();
let arg = format!("{activation_script}{separator} {to_run}");
- let args = shell_kind.args_for_shell(false, arg);
+ let args = shell_kind.args_for_shell(true, arg);
let shell = remote_client
.read(cx)
.shell()
@@ -214,7 +214,7 @@ impl Project {
let to_run = format_to_run();
let arg = format!("{activation_script}{separator} {to_run}");
- let args = shell_kind.args_for_shell(false, arg);
+ let args = shell_kind.args_for_shell(true, arg);
(
Shell::WithArguments {