Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
remote: Keep full shell path on wsl (#39555)
Lukas Wirthd5a489014250
diff --git a/crates/remote/src/transport/wsl.rs b/crates/remote/src/transport/wsl.rsindex eed7a19d923..6ae57111f1b 100644--- a/crates/remote/src/transport/wsl.rs+++ b/crates/remote/src/transport/wsl.rs@@ -98,11 +98,6 @@ impl WslRemoteConnection {.run_wsl_command("sh", &["-c", "echo $SHELL"]).await.ok()- .and_then(|shell_path| {- Path::new(shell_path.trim())- .file_name()- .map(|it| it.to_str().unwrap().to_owned())- }).unwrap_or_else(|| "bash".to_string()))}