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:
+3
-2
@@ -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 ---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user