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.

project: Use login shell to get environment per project (#17717)

Thorsten Ball9407d86ce615
diff --git a/crates/project/src/environment.rs b/crates/project/src/environment.rs
index b74b577b399..9742b8b6d58 100644
--- a/crates/project/src/environment.rs
+++ b/crates/project/src/environment.rs
@@ -219,7 +219,7 @@ async fn load_shell_environment(
);
let output = smol::process::Command::new(&shell)
- .args(["-i", "-c", &command])
+ .args(["-l", "-i", "-c", &command])
.envs(direnv_environment)
.output()
.await