From 58c0887ab332f89f9445d5ce8e04524c04719d60 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Mon, 29 Jun 2026 11:34:55 +0200 Subject: docs: document ~/bin install process in CLAUDE.md Co-Authored-By: Claude Opus 4.8 --- CLAUDE.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) 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`: -- cgit v1.2.3