---
title: "ezgh completion bash"
description: "Generate the autocompletion script for bash."
---

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

# ezgh completion bash

{/* Generated by ezgh-cli's internal/tools/clidocs from the ezgh command tree. Don't edit: change the command's help in ezgh-cli and regenerate. */}

```sh
ezgh completion bash
```

Generate the autocompletion script for the bash shell.

This script depends on the 'bash-completion' package. If it is not installed already, you can install it via your OS's package manager.

To load completions in your current shell session:

```text
source <(ezgh completion bash)
```

To load completions for every new session, execute once:

Linux:

```text
ezgh completion bash > /etc/bash_completion.d/ezgh
```

macOS:

```text
ezgh completion bash > $(brew --prefix)/etc/bash_completion.d/ezgh
```

You will need to start a new shell for this setup to take effect.

Part of [`ezgh completion`](/cli/reference/completion).

## Flags

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `--no-descriptions` | boolean |  | disable completion descriptions |

This command also takes the [global flags](/cli/reference#global-flags).

Source: https://docs.ezghcloud.com/cli/reference/completion-bash/index.mdx
