Skip to main content

expanso-cli completion zsh

expanso-cli completion zsh​

Generate zsh completion script

Synopsis​

Generate the autocompletion script for zsh.

To load completions in your current shell session: source <(expanso-cli completion zsh)

To load completions for every new session, execute once:

System-wide (requires sudo):​

sudo mkdir -p /usr/local/share/zsh/site-functions expanso-cli completion zsh | sudo tee /usr/local/share/zsh/site-functions/_expanso-cli

OR user-level:​

mkdir -p ~/.zsh/completions expanso-cli completion zsh > ~/.zsh/completions/_expanso-cli

Add to ~/.zshrc: fpath=(~/.zsh/completions $fpath)​

You will need to start a new shell for this setup to take effect.

expanso-cli completion zsh [flags]

Options​

-h, --help help for zsh

Options inherited from parent commands​

--api-key string API key for authentication (e.g., exp_ak_...). Env: EXPANSO_CLI_AUTH_API_KEY (preferred; flag values show in ps output)
-e, --endpoint string API endpoint URL
-k, --insecure Skip TLS certificate verification
-p, --profile string Profile to use for configuration
--timeout string Request timeout duration
-v, --verbose Enable verbose logging

SEE ALSO​