From bd749f8e9a0eeaa5578a368996f7b93955580a39 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Fri, 10 Apr 2026 22:41:47 +0300 Subject: task 20: hide do info UUID unless HEXAI_DEBUG is set --- docs/buildandinstall.md | 3 ++- docs/fish-completion.md | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/buildandinstall.md b/docs/buildandinstall.md index 379d310..7d29c71 100644 --- a/docs/buildandinstall.md +++ b/docs/buildandinstall.md @@ -11,7 +11,8 @@ Hexai uses Mage for developer tasks. Install Mage, then run targets like build, - In restricted sandboxes/CI (no sockets), skip network-based tests: - `HEXAI_TEST_SKIP_NET=1 go test ./... -cover` - Install binaries to `GOPATH/bin`: `mage install` -- Load Fish completions in the current shell: `~/go/bin/do fish | source` +- `mage install` also writes Fish completion to `~/.config/fish/completions/do.fish` (or `$XDG_CONFIG_HOME/fish/completions/do.fish`) +- Load Fish completions in the current shell immediately after install: `~/go/bin/do fish | source` Note: `mage lint` uses `golangci-lint`. Install via `mage devinstall` if needed. diff --git a/docs/fish-completion.md b/docs/fish-completion.md index 95de56a..c582800 100644 --- a/docs/fish-completion.md +++ b/docs/fish-completion.md @@ -32,3 +32,5 @@ end ``` No external `do.fish` file is required. + +If you installed with `mage install`, the installer also writes an autoloadable completion file to `~/.config/fish/completions/do.fish` (or `$XDG_CONFIG_HOME/fish/completions/do.fish`), so new Fish sessions should pick it up automatically. -- cgit v1.2.3