Revert "Allow always_allow patterns for Nushell, Elvish, and Rc shells" (#48050)

Reverts zed-industries/zed#47908

This PR inadvertently caused a regression:

- https://github.com/zed-industries/zed/issues/48047
This commit is contained in:
Joseph T. Lyons
2026-01-30 16:26:13 -05:00
committed by GitHub
parent cfd6144af8
commit 72b151e3aa
28 changed files with 318 additions and 694 deletions
@@ -122,7 +122,7 @@ impl DapLocator for CargoLocator {
.cwd
.clone()
.context("Couldn't get cwd from debug config which is needed for locators")?;
let builder = ShellBuilder::new(&build_config.shell).non_interactive();
let builder = ShellBuilder::new(&build_config.shell, cfg!(windows)).non_interactive();
let mut child = builder
.build_smol_command(
Some("cargo".into()),