Skip to content

tmux grouped sessions lose project cwd after group move #2

Description

@andrei-hasna

Summary

Grouped tmux sessions created via the projects CLI lose their working directory and end up in /home/hasna instead of the project path.

Reproduction

  1. Create a project tmux session with the projects CLI so the initial cwd is correct.
  2. Move the session into a tmux group using .
  3. Open any grouped window such as .
  4. Inspect or run /home/hasna.

Expected

Each grouped window should remain in its project directory, for example .

Actual

Grouped windows end up in .

Current workaround

Send into each affected tmux pane after grouping.

Notes

This affected the rebuilt group after the tmux crash. I verified and patched the live panes manually.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions