From 469663dc3e7d85e5144a73bdd0e166c26efa6a3b Mon Sep 17 00:00:00 2001 From: Derek Cooper Date: Thu, 7 May 2026 23:43:48 -0700 Subject: [PATCH] Updating path for cloned repo --- README.md | 12 ++++++------ preferences/hooks-setup.md | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 1686f7c..aa82895 100644 --- a/README.md +++ b/README.md @@ -41,19 +41,19 @@ Clone this repo locally and symlink `CLAUDE.md` and `preferences/` into `~/.clau **Linux (one-time setup per machine):** ```bash -git clone https://git.chns.tech/CHNS/AI ~/repos/AI -ln -sf ~/repos/AI/CLAUDE.md ~/.claude/CLAUDE.md -ln -sf ~/repos/AI/preferences ~/.claude/preferences +git clone https://git.chns.tech/CHNS/AI ~/AI +ln -sf ~/AI/CLAUDE.md ~/.claude/CLAUDE.md +ln -sf ~/AI/preferences ~/.claude/preferences ``` **Windows (one-time setup — requires Developer Mode or run PowerShell as Administrator):** ```powershell -git clone https://git.chns.tech/CHNS/AI C:\repos\AI +git clone https://git.chns.tech/CHNS/AI C:\AI Remove-Item "$env:USERPROFILE\.claude\CLAUDE.md" -Force -ErrorAction SilentlyContinue Remove-Item "$env:USERPROFILE\.claude\preferences" -Recurse -Force -ErrorAction SilentlyContinue -New-Item -ItemType SymbolicLink -Path "$env:USERPROFILE\.claude\CLAUDE.md" -Target "C:\repos\AI\CLAUDE.md" -New-Item -ItemType SymbolicLink -Path "$env:USERPROFILE\.claude\preferences" -Target "C:\repos\AI\preferences" +New-Item -ItemType SymbolicLink -Path "$env:USERPROFILE\.claude\CLAUDE.md" -Target "C:\AI\CLAUDE.md" +New-Item -ItemType SymbolicLink -Path "$env:USERPROFILE\.claude\preferences" -Target "C:\AI\preferences" ``` After symlinking, configure hooks from `preferences/hooks-setup.md` — the auto-pull hook will keep preferences current automatically. diff --git a/preferences/hooks-setup.md b/preferences/hooks-setup.md index 5e83ec3..151b52d 100644 --- a/preferences/hooks-setup.md +++ b/preferences/hooks-setup.md @@ -67,7 +67,7 @@ Add this to `~/.claude/settings.json` (merge with any existing content). Command "hooks": [ { "type": "command", - "command": "git -C \"$HOME/repos/AI\" pull --quiet --ff-only 2>/dev/null; true", + "command": "git -C \"$HOME/AI\" pull --quiet --ff-only 2>/dev/null; true", "async": true, "statusMessage": "Syncing preferences..." } @@ -100,7 +100,7 @@ Add this to `~/.claude/settings.json` (merge with any existing content). Command "hooks": [ { "type": "command", - "command": "powershell -NonInteractive -Command \"git -C C:\\repos\\AI pull --quiet --ff-only 2>$null\"", + "command": "powershell -NonInteractive -Command \"git -C C:\\AI pull --quiet --ff-only 2>$null\"", "async": true, "statusMessage": "Syncing preferences..." }