Skip to content

update-20260103b--impl-tmux-worktree-cd--claude#175

Open
tamakiii wants to merge 1 commit intoupdate-20260103bfrom
update-20260103b--impl-tmux-worktree-cd--claude
Open

update-20260103b--impl-tmux-worktree-cd--claude#175
tamakiii wants to merge 1 commit intoupdate-20260103bfrom
update-20260103b--impl-tmux-worktree-cd--claude

Conversation

@tamakiii
Copy link
Owner

@tamakiii tamakiii commented Jan 8, 2026

⏺ Created bin/tmux-worktree-cd. The script:

  1. Resolves worktree from name or path via git worktree list
  2. Sends program-specific commands to all panes:
    - Shells (zsh, bash, fish, sh): cd
    - Helix (hx): Escape + :cd + Enter
    - Claude Code (claude): /cd
    - Others: skipped (can add mappings at top of script)

Usage:
tmux-worktree-cd feature-branch
tmux-worktree-cd /path/to/worktree

To test, try running it from one of your panes while you have multiple panes open. The PROGRAM_COMMANDS associative array at the top of the script is where you can add more program mappings.

⏺ Created bin/tmux-worktree-cd. The script:

  1. Resolves worktree from name or path via git worktree list
  2. Sends program-specific commands to all panes:
    - Shells (zsh, bash, fish, sh): cd <path>
    - Helix (hx): Escape + :cd <path> + Enter
    - Claude Code (claude): /cd <path>
    - Others: skipped (can add mappings at top of script)

  Usage:
  tmux-worktree-cd feature-branch
  tmux-worktree-cd /path/to/worktree

  To test, try running it from one of your panes while you have multiple panes open. The PROGRAM_COMMANDS associative array at the top of the script is where you can add more program mappings.
@tamakiii tamakiii self-assigned this Jan 8, 2026
@tamakiii tamakiii requested a review from Copilot January 8, 2026 16:54
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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