dotfiles/home/dot_local/bin
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Felipe M. 99254bf506 Add a dotfiles maintenance command
Wraps the routine operations: `dotfiles update` fetches and fast-forwards,
`dotfiles apply` does that plus `chezmoi apply` and `metapac sync`, and
`dotfiles chezmoi` / `dotfiles metapac` pass through to the underlying tools.

`apply` refuses to run with uncommitted changes in the repo, and `update`
only ever fast-forwards, so a diverged branch is reported rather than merged.
Package removal is left out of `apply` on purpose -- `metapac clean` is
destructive enough to stay an explicit, separate step.

The script body is wrapped in a brace group because `chezmoi apply` can
rewrite the script while it is executing; the braces force bash to parse the
whole file up front rather than reading it incrementally.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-18 12:03:09 +02:00
..
executable_dotfiles Add a dotfiles maintenance command 2026-08-18 12:03:09 +02:00
executable_git-credential-op Manage ~/.gitconfig and add 1Password-backed git credential helper 2026-08-18 11:21:00 +02:00