fix(coding-agent): tighten user shell routing

This commit is contained in:
handlecusion
2026-06-05 11:26:30 +09:00
parent 8b9c4fa1b9
commit 2d7d717029
4 changed files with 12 additions and 16 deletions
@@ -255,6 +255,7 @@ exit 64
const shellDir = fs.mkdtempSync(path.join(os.tmpdir(), "omp-zsh-shellpath-"));
fs.writeFileSync(path.join(shellDir, ".zshrc"), "alias pi_shell_alias='printf zsh-alias-ok\\\\n'\n");
Settings.instance.set("shellPath", zshPath);
vi.spyOn(Settings.prototype, "getShellConfig").mockReturnValue({
shell: zshPath,