瀏覽代碼

Shell: No -l in fallback, for max compatibility (#5452)

Dan Brown 11 月之前
父節點
當前提交
6e9833acce
共有 1 個文件被更改,包括 2 次插入 和 1 次删除
  1. 2 1
      packages/opencode/src/session/prompt.ts

+ 2 - 1
packages/opencode/src/session/prompt.ts

@@ -1284,8 +1284,9 @@ export namespace SessionPrompt {
         args: ["-NoProfile", "-Command", input.command],
       },
       // Fallback: any shell that doesn't match those above
+      //  - No -l, for max compatibility
       "": {
-        args: ["-c", "-l", `${input.command}`],
+        args: ["-c", `${input.command}`],
       },
     }