mirror of
https://github.com/NanmiCoder/cc-haha
synced 2026-07-16 13:03:31 +08:00
- Set up VitePress with bilingual support (Chinese root + English /en/) - Create unified sidebar navigation with all doc sections - Add custom Anthropic brand theme (#D97757) - Create Quick Start pages (zh/en) from README content - Migrate 7 .en.md files to docs/en/ directory structure - Translate memory/agent/skills docs to English (9 files) - Generate English-only architecture diagrams (11 images via PicTactic) - Copy English-ready images for agent/skills sections (21 images) - Configure custom domain (claudecodehaha.relakkesyang.org) - Localize Chinese UI labels (sidebar, outline, footer) - Add documentation site badge to READMEs - Fix dead links and update cross-references for VitePress Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
41 lines
864 B
Markdown
41 lines
864 B
Markdown
# Global Usage (Run from Any Directory)
|
|
|
|
|
|
If you want to run `claude-haha` directly from any project directory, set up one of the following. Once configured, `claude-haha` will automatically recognize your current working directory.
|
|
|
|
## macOS / Linux
|
|
|
|
Add to `~/.bashrc` or `~/.zshrc`:
|
|
|
|
```bash
|
|
# Option 1: Add to PATH (recommended)
|
|
export PATH="$HOME/path/to/claude-code-haha/bin:$PATH"
|
|
|
|
# Option 2: Alias
|
|
alias claude-haha="$HOME/path/to/claude-code-haha/bin/claude-haha"
|
|
```
|
|
|
|
Then reload the config:
|
|
|
|
```bash
|
|
source ~/.bashrc # or source ~/.zshrc
|
|
```
|
|
|
|
## Windows (Git Bash)
|
|
|
|
Add to `~/.bashrc`:
|
|
|
|
```bash
|
|
export PATH="$HOME/path/to/claude-code-haha/bin:$PATH"
|
|
```
|
|
|
|
## Verify
|
|
|
|
After setup, navigate to any project directory and test:
|
|
|
|
```bash
|
|
cd ~/your-other-project
|
|
claude-haha
|
|
# Ask "What is the current directory?" — it should show ~/your-other-project
|
|
```
|