diff --git a/README.md b/README.md index 8a8175e..30a8d21 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ This repository contains custom OpenCode configuration including commands, skill ### 1. Clone Configuration ```bash -git clone https://git.digitevents.com/ai/opencode.git ~/.config/opencode +git clone https://git.digitevents.com/ai/opencode.git ~/.opencode ``` ### 2. Configure Environment Variables @@ -36,7 +36,7 @@ Create `env.sh` file (not tracked in git) or use the one from iCloud: ```bash # Option 1: Create manually -cat > ~/.config/opencode/env.sh << 'EOF' +cat > ~/.opencode/env.sh << 'EOF' # OpenCode Environment Variables export REF_API_KEY="your-ref-api-key" export FIGMA_API_KEY="your-figma-api-key" @@ -57,7 +57,7 @@ Add to your `~/.zshrc` or `~/.bashrc`: source ~/Library/Mobile\ Documents/com~apple~CloudDocs/opencode-env.sh # Or load from local file -[[ -f ~/.config/opencode/env.sh ]] && source ~/.config/opencode/env.sh +[[ -f ~/.opencode/env.sh ]] && source ~/.opencode/env.sh ``` Then reload your shell: @@ -100,7 +100,7 @@ Configure MCP services in `opencode.json`: ### Push Changes ```bash -cd ~/.config/opencode +cd ~/.opencode git add . git commit -m "chore: update config" git push @@ -109,7 +109,7 @@ git push ### Pull Changes ```bash -cd ~/.config/opencode +cd ~/.opencode git pull ```