Skip to content

fix: run tmux worktree sessions through login shell for bash/zsh#4

Open
mgajewskik wants to merge 1 commit intokdcokenny:mainfrom
mgajewskik:fix/tmux-login-shell-env
Open

fix: run tmux worktree sessions through login shell for bash/zsh#4
mgajewskik wants to merge 1 commit intokdcokenny:mainfrom
mgajewskik:fix/tmux-login-shell-env

Conversation

@mgajewskik
Copy link

Summary

  • run the initial tmux worktree command through a login+interactive shell when the user's shell is bash or zsh
  • this ensures environment variables from shell startup files are available before launching OpenCode
  • keep the existing fallback behavior for other shells

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