Skip to content

completion

Generates a completion script for a shell

Example

Generate a completion script for zsh and load it:

$ eval "$(rye self completion -s zsh)"

Arguments

no arguments

Options

  • -s, --shell <SHELL>: The shell to generate a completion script for (defaults to 'bash')

    [possible values: bash, elvish, fish, powershell, zsh]

  • -h, --help: Print help (see a summary with '-h')