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. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 5ff155d..450dc1a 100644 --- a/Makefile +++ b/Makefile @@ -14,7 +14,7 @@ HOOKS := $(wildcard hooks/*.sh hooks/*.py) # them manually if they want the behavior. Add new opt-ins to this list. OPTIN_HOOKS := hooks/destructive-bash-confirm.py DEFAULT_HOOKS := $(filter-out $(OPTIN_HOOKS),$(HOOKS)) -CLAUDE_CONFIG := $(wildcard .claude/*.json) $(wildcard .claude/.*.json) +CLAUDE_CONFIG := $(wildcard .claude/*.json) $(wildcard .claude/.*.json) $(wildcard .claude/*.sh) LANGUAGES := $(notdir $(wildcard languages/*)) TEAMS := $(notdir $(wildcard teams/*)) PDFTOOLS_VENV ?= $(HOME)/.local/venvs/pdftools -- cgit v1.2.3