Make _clone_nvim_config idempotent #11

Merged
JMR-dev merged 2 commits from claude/script-idempotency-review-CBYwG into main 2026-05-22 18:58:29 +00:00
JMR-dev commented 2026-05-22 18:58:19 +00:00 (Migrated from github.com)

Previously rmtree'd ~/.config/nvim on every full bootstrap run, destroying
any user edits, plugin state, and undo history. Now skips when the
directory is already a clone of the expected repo, and refuses to touch
unfamiliar contents (different remote, or non-git directory).

Previously rmtree'd ~/.config/nvim on every full bootstrap run, destroying any user edits, plugin state, and undo history. Now skips when the directory is already a clone of the expected repo, and refuses to touch unfamiliar contents (different remote, or non-git directory).
Sign in to join this conversation.