tmux-python / tmux-python/tmuxp
Load all sessions
Nobody has claimed this yet.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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