Tip 0: Windows support for context-bar.sh in statusLine · Issue #5 · ykdojo/claude-code-tips · GitHub
Skip to content

Tip 0: Windows support for context-bar.sh in statusLine #5

Open

Description

@DL1231

I noticed that the provided context-bar.sh script for the custom statusLine feature encounters issues when running on Windows (e.g., path separator handling and stat command differences).

Are there any plans to support Windows for this script, or perhaps provide a PowerShell (.ps1) alternative in the future?

Activity

  1. ykdojo commented on Jan 10, 2026

    @ykdojo
    Owner

    Are there any plans to support Windows for this script, or perhaps provide a PowerShell (.ps1) alternative in the future?

    @DL1231 not at the moment and I don't have a Windows setup at the moment where I can test it easily!

    Which option would be ideal for you?

  2. sandort012 commented on Feb 9, 2026

    @sandort012

    Both would be acceptable. I have spent countless sessions with ClaudeCode to find a solution with no luck.

  3. damieng commented on Feb 19, 2026

    @damieng

    I've managed to get Claude to port the statusline script to Node and pasted it up at https://gist.github.com/damieng/2b8d1e41e8094d285b64504be0fc97a5

    To use it I use the settings:

      "statusLine": {
        "type": "command",
        "command": "node ~/.claude/statusline.js"
      }
    Image

    Seems to be working well so far but not extensively tested.

  4. added a commit that references this issue on Mar 16, 2026
    55f67f2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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