# `completion` *shell*

Generate shell completion code for the specified shell (`bash`, `fish`,
`powershell`, or `zsh`).

!!! example

    ```console
    $ chezmoi completion bash
    $ chezmoi completion fish --output=~/.config/fish/completions/chezmoi.fish
    ```
