Uh oh!
There was an error while loading. Please reload this page.
Restor shod an tmux session ha - #19
Open
Mohammadhoseinajorloo wants to merge 6 commits into
Open
Conversation
after chenging name 'tmux project manager' to 'project manager' should chenging alias until work command in zsh Ref: #14
This file collection of tmux managment command. Ref: #14
Management and handel restor session tmux in start tmux server. Ref: #14
Handel UI/UX for working with project manager. Ref: #14
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 freeto 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.
🚀 fix(project-manager): robust lazy restore mechanism & fix FZF preview UI syntax
📋 Summary
This PR fixes execution issues, syntax bugs, and race conditions during session restoration in the modular Tmux Project Manager (
tpm). It resolves the empty FZF session picker on cold boots by runningtmux-resurrectwithin an active Tmux environment viatmux run-shell.🐛 Bugs & Root Causes Addressed
\) before--bindinui.sh, which caused aNo such file or directoryerror.#{window-indwx}to#{window_index}.restore.shdirectly without an active session caused the Tmux server to terminate immediately (no server running on /tmp/tmux-XXXX/default).tmux-resurrect: Direct bash execution of resurrect's restore script failed due to missing Tmux context variables and socket references.🛠 Key Changes
lib/project_manager/restore.sh:__resurrect_temp__) to keep the Tmux server alive during restore.tmux run-shell "$restore_script".hostnamebinary via system fallback (uname -n).lib/project_manager/ui.sh:lib/project_manager/core.sh&scripts/project-manager:validate_session_name,create_session).🧪 How to Test
tpm # or ./scripts/project-manager⚡ Restoring tmux sessions...fzfprompt.Entercleanly attaches or switches to the selected session.