tmux-python / tmux-python/tmuxp

`shell_command_before:` under the `panes:` issue.

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

Nobody has claimed this yet.

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

Description

I want to add shell_command_before: under the panes:. How is it possible?

session_name: 4-pane-split
windows:
  - window_name: dev window
    layout: tiled

    panes:
      - shell_command: # pane no. 1
        shell_command_before:
        - ssh test@192.168.31.229

    panes:
      - shell_command:
        shell_command_before:
        - ssh test@192.168.31.229

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 reading the pane configuration entry point and the existing shell_command handling in the tmuxp codebase. Compare the two panes examples in the issue and determine the intended scope and behavior for shell_command_before under panes; done should include a documented, working configuration and coverage for the resulting tmux session.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.