diff options
| author | Paul Buetow <paul@buetow.org> | 2026-04-11 22:26:06 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-04-11 22:26:06 +0300 |
| commit | 969006d536d1861f9602da19d1c724f9def871f7 (patch) | |
| tree | 30d102cdbc37daf339568cce2d74849b34484fd6 /docs | |
| parent | fc66593de1ec7935764063fbbe25378de34b321d (diff) | |
Release v0.31.1: stop installing Fish ask.fish on mage install
mage install no longer writes ~/.config/fish/completions/ask.fish; use
ask fish | source or a conf.d snippet per docs/fish-completion.md.
Made-with: Cursor
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/buildandinstall.md | 3 | ||||
| -rw-r--r-- | docs/fish-completion.md | 4 |
2 files changed, 2 insertions, 5 deletions
diff --git a/docs/buildandinstall.md b/docs/buildandinstall.md index 4a3ccd7..74562f0 100644 --- a/docs/buildandinstall.md +++ b/docs/buildandinstall.md @@ -11,8 +11,7 @@ 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` -- `mage install` also writes Fish completion to `~/.config/fish/completions/ask.fish` (or `$XDG_CONFIG_HOME/fish/completions/ask.fish`) -- Load Fish completions in the current shell immediately after install: `~/go/bin/ask fish | source` +- Load Fish completions in the current shell after install: `~/go/bin/ask fish | source` (or add a `conf.d` snippet; see `docs/fish-completion.md`) 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 f8a4373..f1e1f21 100644 --- a/docs/fish-completion.md +++ b/docs/fish-completion.md @@ -32,6 +32,4 @@ if test -x $ask_bin end ``` -No external `ask.fish` file is required. - -If you installed with `mage install`, the installer also writes an autoloadable completion file to `~/.config/fish/completions/ask.fish` (or `$XDG_CONFIG_HOME/fish/completions/ask.fish`), so new Fish sessions should pick it up automatically. +No completion file under `~/.config/fish/completions/` is required; use `ask fish | source` or the `conf.d` snippet above for new sessions. |
