Skip to content
This repository was archived by the owner on Jul 1, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 8 additions & 5 deletions dotfiles/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,14 @@ That preserves in-place swapping — e.g. alacritty's
clobber a symlink. The cost is that local edits don't flow back automatically;
that's what `capture.sh` is for.

## Not yet wired into `setup-*.sh`

The provisioning scripts don't call `install.sh` yet — for now it's a manual
post-provision step. Wiring it in (across all four scripts, per the repo's
keep-in-sync rule) is a sensible follow-up.
## Deployed by `setup-*.sh`

All four provisioning scripts run `install.sh` automatically, as a non-fatal
post-step right after they clone your repos (so the checkout that holds
`install.sh` is already present). A fresh machine restores these configs with
no manual step. The block is `-x`-guarded, so an older clone without
`dotfiles/install.sh` simply skips it. Running `install.sh` by hand still
works any time you want to re-deploy.

## What's tracked today

Expand Down
9 changes: 9 additions & 0 deletions setup-crostini-lab.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1174,6 +1174,15 @@ if [[ -x "$WB_REPO/claude-cost-export/install.sh" ]]; then
"$WB_REPO/claude-cost-export/install.sh" || warn "cost-export install failed (non-fatal — re-run later)"
fi

# --- Captured local dotfiles (alacritty, etc.) -----------------------------
# Deploy hand-tuned configs tracked in dotfiles/ onto this machine. Idempotent;
# backs up any differing existing file to ~/.dotfiles-backup/ before overwrite.
# The repo clone above provides install.sh; non-fatal if it's an older clone.
if [[ -x "$WB_REPO/dotfiles/install.sh" ]]; then
section "Local config files (dotfiles)"
"$WB_REPO/dotfiles/install.sh" || warn "dotfiles install failed (non-fatal — re-run later)"
fi

# ============================================================================
section "🎉 Setup Complete!"
echo ""
Expand Down
9 changes: 9 additions & 0 deletions setup-fedora-workstation.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1319,6 +1319,15 @@ if [[ -x "$WB_REPO/claude-cost-export/install.sh" ]]; then
"$WB_REPO/claude-cost-export/install.sh" || warn "cost-export install failed (non-fatal — re-run later)"
fi

# --- Captured local dotfiles (alacritty, etc.) -----------------------------
# Deploy hand-tuned configs tracked in dotfiles/ onto this machine. Idempotent;
# backs up any differing existing file to ~/.dotfiles-backup/ before overwrite.
# The repo clone above provides install.sh; non-fatal if it's an older clone.
if [[ -x "$WB_REPO/dotfiles/install.sh" ]]; then
section "Local config files (dotfiles)"
"$WB_REPO/dotfiles/install.sh" || warn "dotfiles install failed (non-fatal — re-run later)"
fi

# ============================================================================
section "🎉 Setup Complete!"
echo ""
Expand Down
9 changes: 9 additions & 0 deletions setup-ubuntu-laptop.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1217,6 +1217,15 @@ if [[ -x "$WB_REPO/claude-cost-export/install.sh" ]]; then
"$WB_REPO/claude-cost-export/install.sh" || warn "cost-export install failed (non-fatal — re-run later)"
fi

# --- Captured local dotfiles (alacritty, etc.) -----------------------------
# Deploy hand-tuned configs tracked in dotfiles/ onto this machine. Idempotent;
# backs up any differing existing file to ~/.dotfiles-backup/ before overwrite.
# The repo clone above provides install.sh; non-fatal if it's an older clone.
if [[ -x "$WB_REPO/dotfiles/install.sh" ]]; then
section "Local config files (dotfiles)"
"$WB_REPO/dotfiles/install.sh" || warn "dotfiles install failed (non-fatal — re-run later)"
fi

# ============================================================================
section "🎉 Setup Complete!"
echo ""
Expand Down
9 changes: 9 additions & 0 deletions setup-xubuntu-workstation.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1188,6 +1188,15 @@ if [[ -x "$WB_REPO/claude-cost-export/install.sh" ]]; then
"$WB_REPO/claude-cost-export/install.sh" || warn "cost-export install failed (non-fatal — re-run later)"
fi

# --- Captured local dotfiles (alacritty, etc.) -----------------------------
# Deploy hand-tuned configs tracked in dotfiles/ onto this machine. Idempotent;
# backs up any differing existing file to ~/.dotfiles-backup/ before overwrite.
# The repo clone above provides install.sh; non-fatal if it's an older clone.
if [[ -x "$WB_REPO/dotfiles/install.sh" ]]; then
section "Local config files (dotfiles)"
"$WB_REPO/dotfiles/install.sh" || warn "dotfiles install failed (non-fatal — re-run later)"
fi

# ============================================================================
section "🎉 Setup Complete!"
echo ""
Expand Down