fix: hartcodierte Repo-Pfade durch portable Alternativen ersetzen
bootstrap.sh ermittelt REPO dynamisch, settings.json referenziert Hooks über ~/.claude/hooks (Symlink), auto-format.sh löst die Markdownlint-Config relativ zum Script-Standort auf. Doku-Beispiele nutzen Platzhalter. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -70,7 +70,7 @@
|
||||
"hooks": [
|
||||
{
|
||||
"type": "command",
|
||||
"command": "bash /mnt/projekte/claude-workflow/hooks/pre-bash-checks.sh",
|
||||
"command": "bash ~/.claude/hooks/pre-bash-checks.sh",
|
||||
"statusMessage": "Prüfe Bash-Sicherheitsregeln..."
|
||||
}
|
||||
]
|
||||
@@ -82,7 +82,7 @@
|
||||
"hooks": [
|
||||
{
|
||||
"type": "command",
|
||||
"command": "bash /mnt/projekte/claude-workflow/hooks/auto-format.sh"
|
||||
"command": "bash ~/.claude/hooks/auto-format.sh"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -92,7 +92,7 @@
|
||||
"hooks": [
|
||||
{
|
||||
"type": "command",
|
||||
"command": "bash /mnt/projekte/claude-workflow/hooks/verify-on-stop.sh"
|
||||
"command": "bash ~/.claude/hooks/verify-on-stop.sh"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user