From 8b4c1b1e7f277a154557c0e169ba916d28fb0c33 Mon Sep 17 00:00:00 2001 From: Joseph Fung Date: Fri, 15 May 2026 21:27:35 -0400 Subject: [PATCH] fix: reorder vars in semicolons example to match auto-approve pattern MAIN= must come first so the command matches the Bash(MAIN=:*) permission rule documented in the global CLAUDE.md. --- settings/claude-md.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/settings/claude-md.md b/settings/claude-md.md index 14679fc..dfb8e2a 100644 --- a/settings/claude-md.md +++ b/settings/claude-md.md @@ -115,7 +115,7 @@ find . -name "*.ts" | xargs grep "pattern" Semicolons are not blocked and can be used to sequence commands: ```bash -WORKTREE=/path/to/wt MAIN=/path/to/main; for item in .env; do ln -sf "$MAIN/$item" "$WORKTREE/$item"; fi +MAIN=/path/to/main WORKTREE=/path/to/wt; for item in .env; do ln -sf "$MAIN/$item" "$WORKTREE/$item"; fi ``` ## Creating or editing issues