Skip to content

chore: add setup task for worktree local files - #53

Closed
zawakin wants to merge 1 commit into
mainfrom
chore/add-setup-task
Closed

chore: add setup task for worktree local files#53
zawakin wants to merge 1 commit into
mainfrom
chore/add-setup-task

Conversation

@zawakin

@zawakin zawakin commented Feb 8, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add scripts/open-url.local.sh.example as a committed template for the gitignored local hook
  • Add mise run setup task that copies *.example*.local.sh for all local hooks
  • Idempotent: skips files that already exist
  • Run once after git worktree add to bootstrap local configuration

Usage

git worktree add ../agtrace-2
cd ../agtrace-2
mise run setup   # Creates scripts/open-url.local.sh from template

Test plan

  • mise run setup creates the local file from template
  • Running again is a no-op ("Nothing to do")
  • CI passes

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@zawakin zawakin self-assigned this Feb 8, 2026
@zawakin

zawakin commented Feb 8, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by env var approach (OPEN_URL_CMD)

@zawakin zawakin closed this Feb 8, 2026
@zawakin
zawakin deleted the chore/add-setup-task branch February 8, 2026 04:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant