completion:install
rai completion:install [OPTIONS]Install completion for your shell (writes script and updates rc).
What this does:
- Writes the completion script under ~/.rai/completions/ (or ~/.config/fish/completions/ for fish)
- Appends a
source ...line to your shell’s rc file (idempotent — safe to re-run)
Re-run with —force to refresh the script after upgrading rai.
Options
Section titled “Options”| Option | Type | Description |
|---|---|---|
--shell | choice | Target shell. Defaults to the shell detected from $SHELL. |
--force | Boolean | Overwrite an existing completion script if present. Default: False. |