tmux-python / tmux-python/libtmux

Environment: Add to `new-window`, `split-window`, `respawn-window`, `respawn-pane`

Open
#521 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
1.2k
Forks
127
Avg merge
2h 13m
Merged PRs (30d)
1

Description

Works as of tmux 3.0 (changes):

  • Add a -e flag to new-window, split-window, respawn-window, respawn-pane to
    pass environment variables into the newly created process.

Examples

tmux split-window -e MOO=3 -e BARK=5

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the libtmux entry points that wrap new-window, split-window, respawn-window, and respawn-pane. Done means those operations accept repeated -e NAME=VALUE arguments and pass them to the newly created process, including the documented example.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api, cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.