tmux-python / tmux-python/tmuxp

Load all sessions

Open
#723 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

This is a feature request, not a problem with an existing feature.

I personally love tmux with tmuxp - I have a session running with neovim and some shells running project specific processes at all time for each project I am working on in general, backed by a tmuxp config for each of them.

If I ever reboot, my first command is

$ tmuxp load -d project otherproject thirdproject fourthproject

As the projects I am working on change reasonably frequently, this command does as well. Currently, I manage it with an alias

alias txpla="tmuxp load -r project otherproject thirdproject fourthproject"

It would be really cool, if I could just do

$ tmuxp load -d *

or something similar to tell tmuxp to load all session files in my config folder. That would allow me to manage that in one place just with the files.

If I get pointers which rough part of the project is responsible for the matching, I would be happy to submit a PR.

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 tmuxp load command and the code that matches or discovers session files in the config folder. Review how multiple named sessions are currently loaded, then define the all-files behavior so a command like tmuxp load -d * loads each available session and preserves existing named-session behavior.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.