You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
claude-account-email widget ignores CLAUDE_CONFIG_DIR when multiple profiles are active #317
I set up multiple Claude Code profiles using CLAUDE_CONFIG_DIR (one for work, one for personal) using aliases:
alias cc-work='CLAUDE_CONFIG_DIR=$HOME/.claude-work command claude'alias cc-personal='CLAUDE_CONFIG_DIR=$HOME/.claude-personal command claude'
Each profile has its own .claude.json with separate auth, and CLAUDE_CONFIG_DIR is confirmed set correctly inside sessions (I asked Claude to run echo $CLAUDE_CONFIG_DIR in each one).
Even so, the claude-account-email widget shows the same account email in both sessions. It seems like the widget is reading ~/.claude.json at the home level rather than $CLAUDE_CONFIG_DIR/.claude.json. I tried removing the base home file, and both sessions no longer show an email account at all. When I restore it, they go back to showing the same email address. I know they're using their respective accounts, because Claude Code reports one as a Pro account and the other as Team.
I'm happy to test a fix or provide more information about my setup if it's useful.
Activity
fix(widget): claude-account-email respects CLAUDE_CONFIG_DIR (sirmall…
fix(widget): claude-account-email respects CLAUDE_CONFIG_DIR (sirmall…