Commit 03705e0
committed
Fix: Skip direnv allow in worktrees with mismatched directory names
The setup script now checks if the directory basename matches the expected
repo name before running 'direnv allow'. This prevents confusing warning
messages on every shell prompt when using worktrees with different names,
while still allowing the script to successfully bootstrap the environment.1 parent 1a80630 commit 03705e0
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
19 | 22 | | |
20 | 23 | | |
21 | 24 | | |
0 commit comments