Просмотр исходного кода

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

Dan Brown 2 месяцев назад
Родитель
Сommit
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}`],
       },
     }