Skip to content

Statusline doesn't auto-refresh on first load for non-default profiles #35

Description

@mhmzdev

Description

When using a non-default Claude profile (e.g. via CLAUDE_CONFIG_DIR or a .claude-* directory), the statusline does not render on first load. It remains blank until the user manually runs /status once — after which it updates normally.

Additionally, the inline stats display resolves to the literal .claude* directory name rather than the actual resolved config path, which can be confusing when multiple profiles are in use.

Steps to reproduce

  1. Set CLAUDE_CONFIG_DIR to a non-default path (or have a .claude-work style directory)
  2. Start a new Claude Code session
  3. Observe the statusline is blank on the first screen render
  4. Type /status — the statusline now appears and continues updating correctly

Expected behavior

The statusline should render immediately on session start without requiring a manual /status trigger.

Related

PR #34 — fixes profile detection and CLAUDE_CONFIG_DIR support, but this first-render issue persists.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions