Skip to main content

completion

Generate shell completion scripts for auto-completing commands, flags, and arguments.

completion

shell
shoplazza completion <shell>

Supported shells: bash, zsh, fish, powershell.

Installation

zsh — add to ~/.zshrc:

shell
eval "$(shoplazza completion zsh)"

bash — add to ~/.bashrc or ~/.bash_profile:

shell
eval "$(shoplazza completion bash)"

fish — save to completions directory:

shell
shoplazza completion fish > ~/.config/fish/completions/shoplazza.fish

powershell — add to $PROFILE:

powershell
shoplazza completion powershell | Out-String | Invoke-Expression