Add Makefile for managing Claude Code config symlinks
- Move commands, scripts, settings to repo root - Add Makefile with install/uninstall/status targets - Symlinks ~/.claude/* to this repo for version control - Update documentation with setup instructions 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
9
scripts/load-forgejo-token.sh
Executable file
9
scripts/load-forgejo-token.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
# Load Forgejo token from macOS Keychain into Claude Code session
|
||||
if [ -n "$CLAUDE_ENV_FILE" ]; then
|
||||
TOKEN=$(security find-generic-password -a "$USER" -s "forgejo-token" -w 2>/dev/null)
|
||||
if [ -n "$TOKEN" ]; then
|
||||
echo "export FORGEJO_TOKEN=\"$TOKEN\"" >> "$CLAUDE_ENV_FILE"
|
||||
fi
|
||||
fi
|
||||
exit 0
|
||||
Reference in New Issue
Block a user