> ## 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

> [tab] Bash
>
> ```bash theme={null}
> # Add to ~/.bashrc
> eval "$(profclaw completion bash)"
> ```

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

> [tab] Fish
>
> ```bash theme={null}
> profclaw completion fish | source
>
> # Or persist it
> profclaw completion fish > ~/.config/fish/completions/profclaw.fish
> ```

## Related

* [CLI Overview](https://docs.profclaw.ai/cli/overview.md)
* [Installation](https://docs.profclaw.ai/getting-started/installation.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.