> ## Documentation Index
> Fetch the complete documentation index at: https://docs.profclaw.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# profclaw completion

> profclaw completion - generate shell tab-completion scripts for bash, zsh, and fish. Install once and autocomplete every profClaw command and flag.

## Synopsis

```bash theme={null}
profclaw completion <shell>
```

## Description

Generate shell completion scripts for tab-completion of profClaw commands, subcommands, and flags.

## Subcommands

| Subcommand | Description                     |
| ---------- | ------------------------------- |
| `bash`     | Generate bash completion script |
| `zsh`      | Generate zsh completion script  |
| `fish`     | Generate fish completion script |

## Setup

<Tabs>
  <Tab title="Bash">
    ```bash theme={null}
    # Add to ~/.bashrc
    eval "$(profclaw completion bash)"
    ```
  </Tab>

  <Tab title="Zsh">
    ```bash theme={null}
    # Add to ~/.zshrc
    eval "$(profclaw completion zsh)"
    ```
  </Tab>

  <Tab title="Fish">
    ```bash theme={null}
    profclaw completion fish | source

    # Or persist it
    profclaw completion fish > ~/.config/fish/completions/profclaw.fish
    ```
  </Tab>
</Tabs>

## Related

* [CLI Overview](/cli/overview)
* [Installation](/getting-started/installation)
