Skip to content

Windows/Git Bash: statusline always falls back to bare 'LifeOS' — LIFEOS_DIR ships as native C:\ path, fails #1463 absolute-path gate #1746

Description

@umair-a11y

On Windows, the installer writes LIFEOS_DIR into settings.json env as a native drive path (C:\Users\<user>/.claude/LIFEOS). LIFEOS_StatusLine.sh's fail-closed gate from #1463 only accepts POSIX-absolute paths (case $LIFEOS_DIR in /*)), so every Git Bash session silently renders the one-word LifeOS fallback instead of the statusline.

Fix applied locally: normalize [A-Za-z]:[\/]* paths to POSIX before the gate, via cygpath -u (ships with Git Bash) with a pure parameter-expansion fallback for thin-PATH spawn contexts. Verified: full statusline renders after the patch.

Related Windows false-negative family: #1730.

🤖 Generated with Claude Code

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