Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Use stored home_dir in Docker struct, not literal $HOME (#53642)
KyleBarton6143af13a3a4
diff --git a/crates/remote/src/transport/docker.rs b/crates/remote/src/transport/docker.rsindex 6322cd9193d..872d1d460ec 100644--- a/crates/remote/src/transport/docker.rs+++ b/crates/remote/src/transport/docker.rs@@ -761,7 +761,8 @@ impl RemoteConnection for DockerExecConnection {const TILDE_PREFIX: &'static str = "~/";if working_dir.starts_with(TILDE_PREFIX) {let working_dir = working_dir.trim_start_matches("~").trim_start_matches("/");- parsed_working_dir = Some(format!("$HOME/{working_dir}"));+ parsed_working_dir =+ Some(format!("{}/{}", self.remote_dir_for_server, working_dir));} else {parsed_working_dir = Some(working_dir);}