Преглед на файлове

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

Dan Brown преди 4 месеца
родител
ревизия
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],
         args: ["-NoProfile", "-Command", input.command],
       },
       },
       // Fallback: any shell that doesn't match those above
       // Fallback: any shell that doesn't match those above
+      //  - No -l, for max compatibility
       "": {
       "": {
-        args: ["-c", "-l", `${input.command}`],
+        args: ["-c", `${input.command}`],
       },
       },
     }
     }