From 95519f0a5f26b5118fd82b198f8af662bec17c3c Mon Sep 17 00:00:00 2001 From: bcherb2 Date: Wed, 18 Nov 2026 01:24:55 -0500 Subject: [PATCH] feat: tmux-resurrect and tmux-continuum externals; drop the unused tpm external --- .chezmoiexternal.toml | 31 ++++++++++++++++++++++++------- README.md | 11 ++++++----- 2 files changed, 30 insertions(+), 12 deletions(-) diff --git a/.chezmoiexternal.toml b/.chezmoiexternal.toml index 51de223..13779bd 100644 --- a/.chezmoiexternal.toml +++ b/.chezmoiexternal.toml @@ -3,7 +3,7 @@ # None of these were tracked or declared anywhere before. `.zshrc` sourced # $ZSH/oh-my-zsh.sh unguarded, so `chezmoi init --apply` on a clean box produced # a .zshrc that broke the shell it configures, and nothing in the repo said why. -# The guard went into .zshrc in phase 2; the six entries below are the other +# The guard went into .zshrc in phase 2; the seven entries below are the other # half — the thing the guard is waiting for. # # ORDER MATTERS. chezmoi processes externals in target-path order, so @@ -64,13 +64,30 @@ [".oh-my-zsh/custom/plugins/zsh-ai".pull] args = ["--ff-only"] -# Was a checked-in TPM checkout under .config/tmux/plugins. It is a clone of -# someone else's repo; it belongs here, not in git history. -[".config/tmux/plugins/tpm"] +# tmux-resurrect and tmux-continuum, which .tmux.conf.local loads with +# `run-shell ~/.tmux/plugins//.tmux`. Nothing installed them, so a +# fresh box printed two run-shell errors at every tmux start and +# `@continuum-restore on` silently did nothing. They nest under the .tmux +# external, whose own .gitignore excludes plugins/**, so they never dirty it. +# +# There is deliberately no tpm here. The old `.config/tmux/plugins/tpm` entry +# pointed at a directory nothing reads: oh-my-tmux keeps tpm in +# ~/.tmux/plugins/tpm and fetches it itself, and only when `@plugin` lines +# exist, which there are none of. +[".tmux/plugins/tmux-resurrect"] type = "git-repo" - url = "https://github.com/tmux-plugins/tpm.git" + url = "https://github.com/tmux-plugins/tmux-resurrect.git" refreshPeriod = "168h" - [".config/tmux/plugins/tpm".clone] + [".tmux/plugins/tmux-resurrect".clone] args = ["--depth=1"] - [".config/tmux/plugins/tpm".pull] + [".tmux/plugins/tmux-resurrect".pull] + args = ["--ff-only"] + +[".tmux/plugins/tmux-continuum"] + type = "git-repo" + url = "https://github.com/tmux-plugins/tmux-continuum.git" + refreshPeriod = "168h" + [".tmux/plugins/tmux-continuum".clone] + args = ["--depth=1"] + [".tmux/plugins/tmux-continuum".pull] args = ["--ff-only"] diff --git a/README.md b/README.md index b52028d..f328a9d 100644 --- a/README.md +++ b/README.md @@ -86,14 +86,15 @@ applied. That is the correct complaint, not a bug. ## Externals -Six `git-repo` externals, none of which were declared anywhere before this repo +Seven `git-repo` externals, none of which were declared anywhere before this repo existed. That omission is why a clean bootstrap used to produce a broken login shell: `.zshrc` sourced `$ZSH/oh-my-zsh.sh` with nothing having installed it. -`.tmux`, oh-my-zsh, powerlevel10k, zsh-autosuggestions, zsh-ai, tpm. The theme -and both plugins are nested under `.oh-my-zsh/custom/`, which is what -`$ZSH_CUSTOM` resolves to; chezmoi processes externals in path order, so the -parent is cloned first. +`.tmux`, oh-my-zsh, powerlevel10k, zsh-autosuggestions, zsh-ai, and the tmux +plugins tmux-resurrect and tmux-continuum. The theme and both zsh plugins are +nested under `.oh-my-zsh/custom/`, which is what `$ZSH_CUSTOM` resolves to, and +the tmux plugins under `.tmux/plugins/`, where `.tmux.conf.local` loads them; +chezmoi processes externals in path order, so each parent is cloned first. ## dotup