Status bar shows default config account instead of CLAUDE_CONFIG_DIR account
Bug
When launching Claude Code with CLAUDE_CONFIG_DIR set to a non-default config directory, the status bar in the top panel displays the account info from the default ~/.claude config, not the active config.
Auth actually works correctly (the session uses the right account), but the UI is misleading.
Repro
- Set up two accounts:
- Default (
~/.claude): personal account (e.g. Claude Max,user@gmail.com) - Work (
~/.claude-work): enterprise account (e.g.user@company.com)
- Launch Claude Code with the work config:
``bash``
env CLAUDE_CONFIG_DIR="$HOME/.claude-work" claude
- Observe the top panel status bar. It shows:
````
Opus 4.6 · Claude Max · user@gmail.com's Organization
- But auth status confirms the enterprise account is active:
``bash``
! CLAUDE_CONFIG_DIR=$HOME/.claude-work claude auth status
# Shows: enterprise, user@company.com, correct org
Expected
Status bar should display the account/org/plan from the config directory Claude was actually launched with.
Actual
Status bar displays account info from the default ~/.claude config regardless of CLAUDE_CONFIG_DIR.
Environment
- Claude Code 2.1.212
- macOS (Darwin 25.6.0, Apple Silicon)
- Installed via Homebrew (
/opt/homebrew/bin/claude)
Notes
Found this while debugging why work sessions appeared to use a personal account. Spent a fair bit of time (and credits) tracking it down before confirming it was display-only. A bounty would be appreciated. :)