Skip to content

armgit / alook

Public Imported from GitHub
0

Multi-Agent Collaboration for Team and Friends

fix(daemon): use interactive shell flag for rescan env resolution

Gener137eb2c002c0
diff --git a/src/cli/lib/shell-env.ts b/src/cli/lib/shell-env.ts
index 558c1214e..db804050d 100644
--- a/src/cli/lib/shell-env.ts
+++ b/src/cli/lib/shell-env.ts
@@ -8,7 +8,7 @@ export function resolveLoginShellEnv(): NodeJS.ProcessEnv {
const shell = process.env.SHELL || "/bin/zsh";
try {
- const output = execSync(`${shell} -lc 'env'`, {
+ const output = execSync(`${shell} -ilc 'env'`, {
encoding: "utf-8",
timeout: 5000,
stdio: ["ignore", "pipe", "ignore"],