aboutsummaryrefslogtreecommitdiff
path: root/.claude/settings.json
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-11 11:35:45 -0500
committerCraig Jennings <c@cjennings.net>2026-06-11 11:35:45 -0500
commit3df14fc985ddad041c290c732b5b5b8eae41f68e (patch)
treebf549dd862d5dda2cd7b833d11eb8501368609dd /.claude/settings.json
parentd576fc217ba304b48dfb1c54b92bc1849397fd9b (diff)
downloadrulesets-3df14fc985ddad041c290c732b5b5b8eae41f68e.tar.gz
rulesets-3df14fc985ddad041c290c732b5b5b8eae41f68e.zip
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.
Diffstat (limited to '.claude/settings.json')
-rw-r--r--.claude/settings.json4
1 files changed, 4 insertions, 0 deletions
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": "",