Repository navigation
Conversation
- scripts/tmux.sh: dual-mode helper (sourced by setup.sh or standalone) that clones TPM, installs plugins headlessly, and wires persistent shell history into ~/.bashrc or ~/.zshrc (resurrect dropped history saving upstream, so the rc wiring provides up-arrow recall instead) - .tmux.conf: tpm + tmux-resurrect + tmux-continuum; autosave every 15 min, auto-restore on server start, pane contents captured, nvim restored via the 'session' strategy - nvim: VimLeavePre autocmd writes Session.vim when inside tmux - git: global gitignore (core.excludesfile) keeps Session.vim out of git status everywhere Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
The v1 tag resolves to a release that only accepts repo-token and assignees and predates pull_request support, so the workflow failed on every PR opened. Co-Authored-By: Claude Fable 5 <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.
Summary
tmux sessions now survive reboots with zero manual steps: window/pane layout, working directories, visible pane contents, Neovim sessions, and shell command history all restore automatically.
.tmux.confdeclarestpm,tmux-resurrect, andtmux-continuum— autosave every 15 min, auto-restore on server start, pane contents captured, nvim restored via thesessionstrategy. TPM init stays the last line of the conf.scripts/tmux.sh(new, modeled onscripts/starship.sh, sourceable or standalone): clones TPM, installs plugins headlessly (noprefix+Ineeded), and wires persistent shell history into~/.bashrc(histappend+history -aeach prompt) or~/.zshrc(INC_APPEND_HISTORY) depending on$SHELL— tmux-resurrect removed history saving upstream, so rc wiring provides up-arrow recall in restored panes instead.lua/config/autocmds.luawritesSession.vimonVimLeavePre, only when inside tmux.git/gitignore_global(symlinked to~/.gitignore_global, wired viacore.excludesfile) keepsSession.vimout ofgit statuseverywhere.pozil/auto-assign-issuev1 → v2; the v1 tag predates pull_request support and failed on every PR opened.Test plan
Verified by the test harness's Docker suite on ubuntu 24.04 and debian bookworm — 35/35 assertions green per distro, including a new tmux-persistence run: TPM + plugin dirs present after
setup.sh, server boots with the config,@continuum-restorelive, an actual resurrect save-file write, bash and zsh history wiring, global gitignore effective, and idempotent re-runs (no duplicate rc blocks, no symlink conflicts).🤖 Generated with Claude Code