rc completions generates shell completion scripts for supported shells.
rc [GLOBAL OPTIONS] completions <SHELL>| Parameter | Description |
|---|---|
SHELL |
One of bash, elvish, fish, powershell, or zsh. |
Generate zsh completions:
rc completions zsh > _rcGenerate bash completions:
rc completions bash > rc.bashThe command writes the completion script to stdout. Install the generated file according to the conventions of your shell and operating system.
Global options shown in command syntax use the same meaning everywhere:
| Option | Description |
|---|---|
--format auto|human|json |
Select automatic, human-readable, or JSON output. |
--json |
Emit JSON output where the command supports structured output. |
--no-color |
Disable terminal colors. |
--no-progress |
Disable progress bars. |
-q, --quiet |
Suppress non-error output. |
--debug |
Enable debug logging. |