From 3df14fc985ddad041c290c732b5b5b8eae41f68e Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Thu, 11 Jun 2026 11:35:45 -0500 Subject: feat(install): adopt the statusline script into the managed set An archsetup session added a statusLine entry to the tracked settings.json on 2026-06-11 (Craig's request), pointing at ~/.claude/statusline-command.sh, but the script itself lived outside the repo on one machine. This commits the settings entry and brings the script into .claude/, linked by make install like the rest of the config, so it reaches every machine on the next session. Two fixes over the original: uname -n instead of hostname (Arch doesn't ship hostname by default, so the host rendered empty with stderr noise), and the tilde replacement is escaped (unquoted, bash expands the replacement ~ straight back to $HOME, which defeated the abbreviation). scripts/tests/statusline-command.bats covers the format, branch handling, and the no-stderr contract. --- .claude/settings.json | 4 ++++ 1 file changed, 4 insertions(+) (limited to '.claude/settings.json') diff --git a/.claude/settings.json b/.claude/settings.json index 2e37bc6..3b8b237 100644 --- a/.claude/settings.json +++ b/.claude/settings.json @@ -1,4 +1,8 @@ { + "statusLine": { + "type": "command", + "command": "~/.claude/statusline-command.sh" + }, "skillListingBudgetFraction": 0.05, "attribution": { "commit": "", -- cgit v1.2.3