Status bar shows default config account instead of CLAUDE_CONFIG_DIR account

Status Open
Reported on v2.1.212
Maintainer reply None cached
Activity 0 comments · opened Aug 6, 2026

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

  1. 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)
  1. Launch Claude Code with the work config:

``bash
env CLAUDE_CONFIG_DIR="$HOME/.claude-work" claude
``

  1. Observe the top panel status bar. It shows:

``
Opus 4.6 · Claude Max · user@gmail.com's Organization
``

  1. 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. :)

View original on GitHub ↗