aboutsummaryrefslogtreecommitdiffstats
path: root/CLAUDE.md
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-06-29 11:34:55 +0200
committerDanilo M. <danix@danix.xyz>2026-06-29 11:34:55 +0200
commit58c0887ab332f89f9445d5ce8e04524c04719d60 (patch)
tree4281f470f429094695d809527055df51297b62a1 /CLAUDE.md
parent96aa95a3ee3800ba5b63ae1da8221eac1a58b9f4 (diff)
downloadis_installed-58c0887ab332f89f9445d5ce8e04524c04719d60.tar.gz
is_installed-58c0887ab332f89f9445d5ce8e04524c04719d60.zip
docs: document ~/bin install process in CLAUDE.md
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Diffstat (limited to 'CLAUDE.md')
-rw-r--r--CLAUDE.md19
1 files changed, 19 insertions, 0 deletions
diff --git a/CLAUDE.md b/CLAUDE.md
index 22a0916..b2b928b 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -11,6 +11,25 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
- `is_installed` — the script. All logic lives here.
- `is_installed.bash-completion` — bash completion. Sourced/installed separately (e.g. into `/usr/share/bash-completion/completions/is_installed`).
+## Install
+
+The user runs this from `~/bin` (which is on their PATH). Install the script with:
+
+```
+install -Dm0755 is_installed ~/bin/is_installed
+```
+
+Re-run that after editing to deploy. The bash completion is optional and
+installed separately:
+
+```
+install -m0644 is_installed.bash-completion \
+ /usr/share/bash-completion/completions/is_installed
+```
+
+Note: `is_installed help` exits `69` (`SHOWHELP`), not `0`. That is by design,
+not a failure.
+
## Architecture
Dispatch happens at the bottom `case` on `$1`: