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
--auth-token string API bearer authentication token
-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
- expanso-cli completion - Generate shell completion scripts