diff --git a/dot_claude/settings.json b/dot_claude/settings.json.tmpl similarity index 92% rename from dot_claude/settings.json rename to dot_claude/settings.json.tmpl index 7fb1480..b1b2767 100644 --- a/dot_claude/settings.json +++ b/dot_claude/settings.json.tmpl @@ -39,6 +39,11 @@ "mcp__supabase__execute_sql" ] }, +{{- if .business_use }} + "env": { + "ANTHROPIC_BASE_URL": "https://api.inhouse-flugel.freee.co.jp/proxy/anthropic_pass_through" + }, +{{- end }} "statusLine": { "type": "command", "command": "pnpx ccusage statusline", diff --git a/dot_zprofile.tmpl b/dot_zprofile.tmpl index 7aba954..e4ca9e1 100644 --- a/dot_zprofile.tmpl +++ b/dot_zprofile.tmpl @@ -4,6 +4,15 @@ # This runs for login shells BEFORE .zshrc # Use for environment setup that must happen early (e.g., TERM fixes) +{{- if .business_use }} +# ============================================================================= +# Homebrew (business use) +# ============================================================================= +if [[ -x "{{ .homebrew_prefix }}/bin/brew" ]]; then + eval "$({{ .homebrew_prefix }}/bin/brew shellenv)" +fi +{{- end }} + # ============================================================================= # Terminal compatibility (Ghostty fallback) # =============================================================================