fix(coding-agent): tighten user shell routing
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user