Skip to content

Working dir not switching #12

Closed
Closed

Description

@krysalead

What happened

When specifying a working dir, the tabby spaces open but not on the working dir.
I am using a WSL connection with zsh

Steps to reproduce

  1. create 2 pans with different working dir
  2. each pan is connected to a WSL ubuntu profile
  3. The terminal opened is not on the working dir

Expected behavior

What should have happened instead.

Environment

  • OS: Windows + WSL
  • Tabby version: 1.0.230
  • TabbySpaces version: 0.2.6

Activity

  1. halilc4 commented on Feb 20, 2026

    @halilc4
    Owner

    Verified on dev branch (commit b1841ac). WSL profile detection now uses two-stage approach: 1) ID prefix check for built-in WSL profiles, 2) command path check for user-defined WSL profiles (checks for wsl.exe in options.command). CWD is injected via --cd arg for WSL profiles, bypassing Windows fs.existsSync validation that would reject Linux paths. Code review confirmed fix is correct. Live testing confirmed CWD mechanism works (non-existent paths correctly fall back to default, existing paths are passed through options.cwd).

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

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions