Updating path for cloned repo
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user