From c5ffaf85c81c7630fd241571fe7a9e1473c02c55 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Mon, 25 Aug 2025 23:58:40 +0900 Subject: claude: move settings file --- .config/claude-code/settings.json | 51 --------------------------------------- .config/claude/settings.json | 50 ++++++++++++++++++++++++++++++++++++++ justfile | 2 +- 3 files changed, 51 insertions(+), 52 deletions(-) delete mode 100644 .config/claude-code/settings.json create mode 100644 .config/claude/settings.json diff --git a/.config/claude-code/settings.json b/.config/claude-code/settings.json deleted file mode 100644 index 17d04eb..0000000 --- a/.config/claude-code/settings.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "model": "sonnet", - "permissions": { - "defaultMode": "acceptEdits", - "disableBypassPermissionsMode": "disable", - "allow": [ - "Bash(fd:*)", - "Bash(find:*)", - "Bash(git diff:*)", - "Bash(git fetch:*)", - "Bash(git log:*)", - "Bash(git status:*)", - "Bash(grep:*)", - "Bash(ls:*)", - "Bash(mkdir:*)", - "Bash(rg:*)", - "Bash(touch:*)", - "Bash(tree:*)" - ], - "deny": [ - "Bash(git push:*)" - ] - }, - "statusLine": { - "type": "command", - "command": "__claude-code-statusline", - "padding": 0 - }, - "hooks": { - "Notification": [ - { - "hooks": [ - { - "type": "command", - "command": "__claude-code-notify Notification" - } - ] - } - ], - "Stop": [ - { - "hooks": [ - { - "type": "command", - "command": "__claude-code-notify Stop" - } - ] - } - ] - } -} diff --git a/.config/claude/settings.json b/.config/claude/settings.json new file mode 100644 index 0000000..dfc13c3 --- /dev/null +++ b/.config/claude/settings.json @@ -0,0 +1,50 @@ +{ + "permissions": { + "defaultMode": "acceptEdits", + "disableBypassPermissionsMode": "disable", + "allow": [ + "Bash(fd:*)", + "Bash(find:*)", + "Bash(git diff:*)", + "Bash(git fetch:*)", + "Bash(git log:*)", + "Bash(git status:*)", + "Bash(grep:*)", + "Bash(ls:*)", + "Bash(mkdir:*)", + "Bash(rg:*)", + "Bash(touch:*)", + "Bash(tree:*)" + ], + "deny": [ + "Bash(git push:*)" + ] + }, + "statusLine": { + "type": "command", + "command": "__claude-code-statusline", + "padding": 0 + }, + "hooks": { + "Notification": [ + { + "hooks": [ + { + "type": "command", + "command": "__claude-code-notify Notification" + } + ] + } + ], + "Stop": [ + { + "hooks": [ + { + "type": "command", + "command": "__claude-code-notify Stop" + } + ] + } + ] + } +} diff --git a/justfile b/justfile index 4494b77..a907d85 100644 --- a/justfile +++ b/justfile @@ -35,4 +35,4 @@ gc: # TODO copy-claude-code-settings: - cp .config/claude-code/settings.json ~/.claude/ + cp .config/claude/settings.json ~/.claude/ -- cgit v1.2.3-70-g09d2