---
title: "alpacon completion zsh"
description: "Generate Alpacon CLI completion for zsh. Print the shell script, choose whether to include descriptions, and load it in your shell to complete command names."
---

> Full documentation index: https://docs.alpacax.com/llms.txt

# alpacon completion zsh

Generate the Alpacon completion script for zsh.

## Usage

`alpacon completion zsh [flags]`

## Key facts

- Print the completion script to stdout.
- Use `--no-descriptions` to omit completion descriptions.

Enable zsh completion first with `autoload -U compinit; compinit` if it is not already enabled.

## Flags

| Flag | Type | Description | Default |
| --- | --- | --- | --- |
| `-h, --help` | `bool` | help for zsh | `false` |
| `--no-descriptions` | `bool` | disable completion descriptions | `false` |
| `--output` | `string` | Output format: table or json | `table` |

## Examples

Generate a zsh completion script

```bash
alpacon completion zsh
```

Load completions in the current shell

```bash
source <(alpacon completion zsh)
```

Source: https://docs.alpacax.com/reference/cli/completion/zsh/
