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:
2026-05-11 19:19:01 +02:00
co-authored by Claude Opus 4.6
parent 62c094361f
commit 09860e32b0
5 changed files with 16 additions and 14 deletions
+3 -2
View File
@@ -1,7 +1,7 @@
#!/bin/bash
set -euo pipefail
REPO="/mnt/projekte/claude-workflow"
REPO="$(cd "$(dirname "$0")" && pwd)"
echo "=== Claude-Workflow Bootstrap ==="
@@ -27,8 +27,9 @@ ln -sf "$REPO/dotfiles/gitea-mcp-wrapper.sh" ~/.claude/gitea-mcp-wrapper.sh
chmod +x "$REPO/dotfiles/gitea-mcp-wrapper.sh"
echo " Dotfiles verlinkt"
ln -sfn "$REPO/hooks" ~/.claude/hooks
chmod +x "$REPO/hooks/"*.sh
echo " Hooks ausfuehrbar"
echo " Hooks verlinkt und ausfuehrbar"
# --- Voraussetzungen pruefen ---