[PR #5452] Shell: No -l in fallback, for max compatibility #11409

Closed
opened 2026-02-16 18:16:14 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/5452

State: closed
Merged: Yes


Remove the -l flag from the fallback shell, for best compatibility with random shells that are out there, e.g.

  • fish — supports -l, but must be -l -c <cmd> not -c -l <cmd>
  • nu — supports -l, but must be -l -c <cmd> not -c -l <cmd>
  • xonsh — supports -l, but must be -l -c <cmd> not -c -l <cmd>
  • tcsh/csh — doesn't support -l
  • ksh — supports -l
**Original Pull Request:** https://github.com/anomalyco/opencode/pull/5452 **State:** closed **Merged:** Yes --- Remove the `-l` flag from the fallback shell, for best compatibility with random shells that are out there, e.g. - `fish` — supports `-l`, but must be `-l -c <cmd>` not `-c -l <cmd>` - `nu` — supports `-l`, but must be `-l -c <cmd>` not `-c -l <cmd>` - `xonsh` — supports `-l`, but must be `-l -c <cmd>` not `-c -l <cmd>` - `tcsh`/`csh` — doesn't support `-l` - `ksh` — supports `-l`
yindo added the pull-request label 2026-02-16 18:16:14 -05:00
yindo closed this issue 2026-02-16 18:16:14 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#11409