aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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`: