Skip to content

Feature request: default working directory of new tmux splits to worktree repo #116

@mattgallagher92

Description

@mattgallagher92

When working with a bare Git repo and worktrees, tms opens a new window for each worktree. The working directory for the pane in each of those windows is the worktree directory. When splitting the window, the working directory for the new pane is the directory containing the bare repo (usually the parent of the worktree directory), not the worktree directory itself.

It'd be great if tms configured the tmux window so that a new pane's working directory is the worktree directory.

P.S. I'm a tmux noob, so not sure whether that's even possible 😅
P.P.S. Thanks for tms, it's great!

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