diff --git a/wezterm-ssh/src/session.rs b/wezterm-ssh/src/session.rs index ecff3a323..161b1857e 100644 --- a/wezterm-ssh/src/session.rs +++ b/wezterm-ssh/src/session.rs @@ -129,7 +129,7 @@ impl SessionInner { cmd = std::process::Command::new(comspec); cmd.args(&["/c", proxy_command]); } else { - cmd = std::process::Command::new("/bin/sh"); + cmd = std::process::Command::new("sh"); cmd.args(&["-c", &format!("exec {}", proxy_command)]); }