Clean up tokensight statusLine when uninstalling
Removes tokensight from your statusLine configuration during uninstallation. Use this when uninstalling tokensight to clean up broken statusLine commands and prevent errors.
/plugin marketplace add zereraz/tokensight/plugin install tokensight@tokensightRemove tokensight from the statusLine configuration in ~/.claude/settings.json.
Read ~/.claude/settings.json to check current statusLine configuration
If statusLine.command contains "tokensight":
; TOKENSIGHT=)If statusLine exists but doesn't contain "tokensight":
Update ~/.claude/settings.json with Edit tool, preserving all other fields
Example transformations:
Combined (before):
"command": "bash -c 'node \"...claude-hud...\"; TOKENSIGHT=\"\\$(ls -td ...tokensight... 2>/dev/null | head -1)\"; [ -n \"$TOKENSIGHT\" ] && node \"$TOKENSIGHT\" || true'"
Claude-hud only (after):
"command": "bash -c 'node \"...claude-hud...\"'"
This ensures clean uninstallation without leaving broken statusLine commands.