-
Notifications
You must be signed in to change notification settings - Fork 48
Description
Currently:
Running tms without subcommands only creates sessions based on git repositories from configured directories. This means it only handles repo-related sessions—both existing and new ones.
The only command which is implemented for non repo/bookmark-sessions is the tms switch command(With --switch-filter-unknown false)
Issues with the Current Approach
-
Limited Session Switching
$ tms sessions # Lists all running tmux sessions ✅ $ tms open-session {name} # Fails for non-repo sessions ❌ $ tmux a -t {name} # Works manually 🙄
It should be possible to open any session listed by
tms sessions. -
Bookmark Limitations
Although bookmarks can achieve similar functionality, they force you to use a different directory for each session. This means you can’t have two sessions in the same directory (e.g., your home directory). -
Real-World Use Cases Are Ignored
- Many users run long-lived sessions like sysadmin, monitoring, or remote sessions.
- Users also create temporary sessions for one-off tasks (system updates, configuration changes, etc.) that aren’t related to any git repo.
These sessions are important enough that they shouldn’t require bookmarking.
Although the git repo integration is maybe the main pulling factor of this tool, a tmux_sessionizer should not be limited to that. The tool should support switching between all tmux sessions by default.
If not it should be renamed to repo_tmuxinizer!/s