diff options
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. |
