Преглед изворни кода

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

Dan Brown пре 2 месеци
родитељ
комит
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}`],
       },
     }