Claude Status Line Mod

I wanted to use this https://github.com/fatih/dotfiles/blob/main/claude/statusline-git.sh

  1. Modify your ~/.claude/settings.json to look like
{
  "hooks": {},
  "statusLine": {
    "type": "command",
    "command": "~/.claude/statusline.sh",
    "padding": 0
  }
}

2. In ~/.claude/statusline.sh drop the code from the repo into there

3. chmod +x ~/.claude/statusline.sh

4. echo ‘{“model”:{“display_name”:”Claude Sonnet 4.5″},”workspace”:{“current_dir”:”‘$(pwd)'”}}’ | ~/.claude/statusline.sh

5. run ‘claude’ and you’ll see the new status line bar