Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
util: Fix invalid powershell redirection syntax used in uni shell env capture (#43390)
Lukas Wirthf7772af19761
diff --git a/crates/util/src/shell_env.rs b/crates/util/src/shell_env.rsindex 02b26229879..307d127135a 100644--- a/crates/util/src/shell_env.rs+++ b/crates/util/src/shell_env.rs@@ -55,6 +55,7 @@ async fn capture_unix(// xonsh doesn't support redirecting to stdin, and control sequences are printed to// stdout on startupShellKind::Xonsh => (FD_STDERR, "o>e".to_string()),+ ShellKind::PowerShell => (FD_STDIN, format!(">{}", FD_STDIN)),_ => (FD_STDIN, format!(">&{}", FD_STDIN)), // `>&0`};