chore(envrc): track .envrc, gitignore .envrc.local#20
Conversation
There was a problem hiding this comment.
Pull request overview
Tracks a shared direnv configuration in the repo by committing .envrc, while keeping machine-specific overrides/secrets in an ignored .envrc.local.
Changes:
- Stop ignoring
.envrcso it can be committed. - Add a tracked
.envrcthat loads a local override file, setsTMPDIR, and ensures the temp directory exists.
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
.gitignore |
Removes .envrc from ignored environment files (keeps .envrc.local ignored). |
.envrc |
Introduces a shared direnv entrypoint with optional local config and repo-scoped temp directory setup. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 1 out of 2 changed files in this pull request and generated 1 comment.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Summary
.envrcis now tracked (portable config, committed to git).envrc.localis gitignored (machine-specific secrets).envrcfrom.gitignore.envrc.localis in.gitignoreTest plan
git statusshows.envrcas trackedgit statusdoes not show.envrc.localdirenv allowloads both files correctlyNote
Low Risk
Low risk: only affects local developer environment/loading behavior via
direnv, with no runtime or application logic changes.Overview
Adds a tracked
.envrcthat sources shared git identity config, optionally loads.envrc.local, and sets up a project-localTMPDIR.Updates
.gitignoreto stop ignoring.envrc(so the shared config is committed) while ensuring.envrc.localand.tmp/remain untracked for machine-specific settings and temp files.Written by Cursor Bugbot for commit 37b7e08. This will update automatically on new commits. Configure here.