Skip to content

Respect launch environment for spawned commands#113

Merged
TomCC7 merged 6 commits into
mainfrom
feat/env-vars
Jun 1, 2026
Merged

Respect launch environment for spawned commands#113
TomCC7 merged 6 commits into
mainfrom
feat/env-vars

Conversation

@TomCC7

@TomCC7 TomCC7 commented Jun 1, 2026

Copy link
Copy Markdown
Owner

Summary

  • Capture the launch environment once and reuse it when spawning git, tmux, and OpenCode commands.
  • Forward launch env vars into tmux-created sessions with explicit -e KEY=value arguments.
  • Add regression coverage, including a live tmux test for GIT_LFS_SKIP_SMUDGE propagation.

Verification

  • cargo build
  • cargo test --lib --quiet
  • GIT_LFS_SKIP_SMUDGE=1 cargo test --lib tmux::tests::test_tmux_create_session_forwards_launch_env --quiet

Notes

  • cargo clippy -- -D warnings still reports unrelated pre-existing warnings in src/app/dialogs.rs.

@TomCC7 TomCC7 merged commit fddbea2 into main Jun 1, 2026
3 checks passed
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