Conversation
- tmux sessions now number windows from 1 (main=1, run=2; new windows continue 3, 4, …); panes stay 0-indexed. Set per-session so other sessions are untouched, and the first-window rename targets the active window (robust to a global base-index). - New shipped bin `mx-kill-sessions`: kill every live mx/* tmux session at once (counterpart to mx-open-all); confirms unless -y. Closes sessions only — works stay active and attach rebuilds on demand. - `mx-open-all` now takes globs and `-x`/`--except <glob>` excludes (repeatable), e.g. `mx-open-all -x 'sk-*'`. De-dupes, still ignores inactive exact names. Docs updated (tmux guide, commands, CLAUDE.md). Bump 4.4.0. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
mx work sessions are disposable (attach rebuilds them), so there's no reason for tmux-resurrect to persist them. Bring back the shipped `mx-tmux-resurrect-filter` bin: wired as `@resurrect-hook-post-save-all`, it strips every `mx/*` session from each resurrect save, leaving other sessions untouched. After a reboot, recreate mx works with `mx-open-all` / `mx work attach`. Reverses the 4.3.0 "resurrect saves mx sessions normally" stance. `mx work gc` stays for pruning any stray orphan. Doctor's resurrect note + docs (tmux guide, commands, CLAUDE.md files, README) updated to recommend the filter. Part of 4.4.0. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
mx-kill-sessions— kill every live mx/* tmux session at once.mx-open-allnow takes globs and-x/--except <glob>excludes.mx-tmux-resurrect-filter— keep mx/* sessions out of tmux-resurrect(wire
@resurrect-hook-post-save-all).Bumps @rousan/mx to 4.4.0.