Skip to content

Support WSL project terminals on Windows#293

Merged
IgorWarzocha merged 3 commits into
devfrom
WSL-support
Jun 11, 2026
Merged

Support WSL project terminals on Windows#293
IgorWarzocha merged 3 commits into
devfrom
WSL-support

Conversation

@IgorWarzocha

Copy link
Copy Markdown
Owner

Summary

  • launch Windows WSL UNC project terminals through wsl.exe --cd instead of using UNC as the process cwd
  • route Pi TUI terminal sessions for WSL projects through the selected distro as well
  • clarify that the custom Pi directory setting is useful for WSL Pi state

Verification

  • bun vitest run desktop/terminal/terminal-command.helpers.test.ts
  • commit hooks / push hooks: bun run ai:check

Cherry-picks the actual author WSL commit from #264 and drops the diverged history.

Christian Scherkl and others added 3 commits June 11, 2026 13:51
Why:
- Native Windows terminal launch currently treats WSL UNC project paths as host Windows paths.
- Opening a WSL project through \\wsl$ or \\wsl.localhost should start the embedded shell inside that distro and Linux cwd.

Verified:
- bun vitest run desktop/terminal/terminal-command.helpers.test.ts
- bun x biome check desktop/terminal/terminal-command.helpers.ts desktop/terminal/terminal-process.ts desktop/terminal/terminal-command.helpers.test.ts
- bun run typecheck:desktop
- git diff --check

(cherry picked from commit 7657ccc)
@IgorWarzocha IgorWarzocha merged commit 0a87a88 into dev Jun 11, 2026
1 check passed
@IgorWarzocha IgorWarzocha deleted the WSL-support branch June 11, 2026 12:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant