feat: tmux-resurrect and tmux-continuum externals; drop the unused tpm external
This commit is contained in:
1 parent
f70d4fe5fc
commit
95519f0a5f
2 files changed
+30
-12
No files matched your search
+24
-7
@@ -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/<name>/<name>.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"]
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user