Skip to main content

install

Addedv0.1.x

This operation installs shell completion.

📘Notes

You need to manually run the source command after the install completes.

For example, if you install the complete command in zsh, you should run source ~/.zshrc to activate command completion.

Synopsis

zilliz completion install <SHELL>
[--apply]

Options

  • SHELL (string) -

    Indicates the target shell for the installation. The current shell applies if this is not specified. Possible values:

    • bash,

    • zsh,

    • fish.

  • --apply (boolean) -

    Indicates whether to write to the rc file of the specified shell automatically.

Example

# Manual copy the comand and paste it into your rc file
zilliz completion install

# Automatically append the command to your rc file
zilliz completion install --apply

# activate the settings
source ~/.<*>rc