8000 Default shell setting not working · Issue #5 · amirlehmam/wmux · GitHub
[go: up one dir, main page]

Skip to content
< 8000 link rel="preload" as="image" href="https://github.githubassets.com/assets/changelog-dark-b1c25ae971bd641b.png"/>

Default shell setting not working #5

Closed

Description

@efurban

Thank you so much for this amazing tool.
however, setting the default shell to WSL does not seem to be working. (next terminal opened is still powershell )

Activity

  1. amirlehmam commented on Apr 25, 2026

    @amirlehmam
    Owner

    Fixed in v0.7.7 — thanks for catching this!

    You were absolutely right: the Default Shell setting was being saved but never read on the spawn path. The defaultShell value made it into the store, but useTerminal only consulted workspace.shell (which is empty by default), so the main process fell through to its system default (PowerShell) and silently ignored your WSL choice.

    The fix wires the preference into the resolution chain:
    workspace.shell → workspacePrefs.defaultShell → main-process fallback.

    It applies to new terminals opened after changing the preference (existing live PTYs keep their shell — changing the default doesn't re-spawn them).

    Grab the new build here: https://github.com/amirlehmam/wmux/releases/tag/v0.7.7
    (Don't forget to right-click the zip → Unblock before extracting — Mark of the Web.)

    Closing this — please reopen if WSL still doesn't show up after upgrading.

  2. efurban commented on Apr 26, 2026

    @efurban
    Author
  3. efurban commented on Apr 26, 2026

    @efurban
    Author

    if i close the app and reopen it the next day, all existing windows/sessions revert back to powershell.

  4. added a commit that references this issue on Sep 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0