Skip to content

Commit 13a2d51

Browse files
committed
Add local settings: allow all Bash except rm
https://claude.ai/code/session_01UqsLbUM5pCXDEW8nTFPU4K
1 parent c7689f3 commit 13a2d51

File tree

1 file changed

+7
-32
lines changed

1 file changed

+7
-32
lines changed

.claude/settings.local.json

Lines changed: 7 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,13 @@
11
{
22
"permissions": {
33
"allow": [
4-
"Bash(cat:*)",
5-
"Bash(git add:*)",
6-
"WebFetch(domain:microsoft.github.io)",
7-
"Bash(dotnet publish:*)",
8-
"Bash(node:*)",
9-
"Bash(where:*)",
10-
"Bash(npm uninstall:*)",
11-
"WebSearch",
12-
"Bash(wsl --list --online:*)",
13-
"Read(//x/JammySeedFinder/**)",
14-
"Read(//mnt/x/JammySeedFinder/**)",
15-
"Read(//x//**)",
16-
"Read(//c/Users/pifre/**)",
17-
"Bash(find /mnt -name GODLIKE* -maxdepth 6)",
18-
"Bash(cmd.exe /c 'dir X:\\\\JammySeedFinder\\\\Desktop /b 2>nul')",
19-
"Bash(cmd.exe /c 'dir %USERPROFILE%\\\\Desktop /b 2>nul')",
20-
"Bash(cmd.exe /c \"dir C:\\\\Users\\\\pifre\\\\Desktop /b 2>nul && echo ---DESKTOP--- && dir X:\\\\JammySeedFinder\\\\Desktop 2>nul && echo ---X_JAMMY_DESKTOP---\")",
21-
"Read(//mnt/c/Users/pifre/**)",
22-
"Bash(cmd.exe /c \"dir \"\"C:\\\\Users\\\\pifre\\\\OneDrive\\\\Desktop\\\\GODLIKE-TEMPLATE\"\" /b\")",
23-
"Bash(xargs wc:*)",
24-
"Bash(dotnet build:*)",
25-
"Bash(grep -E \"\\\\.\\(ps1|sh|mjs\\)$\")",
26-
"Bash(dotnet run:*)",
27-
"Bash(dotnet-script /tmp/test_gameplay.cs)",
28-
"Bash(\"X:/JammySeedFinder/src/MotelyJAML/.cursorignore\")",
29-
"Bash(pnpm update:*)",
30-
"Bash(pnpm ls:*)",
31-
"Bash(find /x/JammySeedFinder/src/MotelyJAML -name *Stream* -o -name *stream*)",
32-
"Bash(git log:*)",
33-
"Bash(find /x/JAMMY -type f -name *log* -o -name *error* -o -name *crash*)",
34-
"Bash(grep -r \"nextShopItem\\\\|shopitem\\\\|GetNextShop\" /x/JammySeedFinder/src/MotelyJAML --include=*.cs)",
35-
"Bash(dotnet test:*)"
4+
"Bash(*)",
5+
"WebFetch",
6+
"WebSearch"
7+
],
8+
"deny": [
9+
"Bash(rm:*)",
10+
"Bash(rm -rf:*)"
3611
]
3712
}
3813
}

0 commit comments

Comments
 (0)