# okibi completion

> Generate the autocompletion script for the specified shell

Generated from okibi 0.2.4. Every command also accepts `--agent`; see [Agent and CI mode](https://okibi.ai/docs/cli/agent-mode.md).

## okibi completion

Generate the autocompletion script for okibi for the specified shell. See each sub-command's help for details on how to use the generated script.

```sh
okibi completion [command]
```

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

```sh
source <(okibi completion bash)
```

To load completions for every new session, execute once:

Linux:

```sh
okibi completion bash > /etc/bash_completion.d/okibi
```

macOS:

```sh
okibi completion bash > $(brew --prefix)/etc/bash_completion.d/okibi
```

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

```sh
okibi completion bash
```

Flags:

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

## okibi completion fish

Generate the autocompletion script for the fish shell.

To load completions in your current shell session:

```sh
okibi completion fish | source
```

To load completions for every new session, execute once:

```sh
okibi completion fish > ~/.config/fish/completions/okibi.fish
```

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

```sh
okibi completion fish [flags]
```

Flags:

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

## okibi completion powershell

Generate the autocompletion script for powershell.

To load completions in your current shell session:

```sh
okibi completion powershell | Out-String | Invoke-Expression
```

To load completions for every new session, add the output of the above command to your powershell profile.

```sh
okibi completion powershell [flags]
```

Flags:

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

## okibi completion zsh

Generate the autocompletion script for the zsh shell.

If shell completion is not already enabled in your environment you will need to enable it.  You can execute the following once:

```sh
echo "autoload -U compinit; compinit" >> ~/.zshrc
```

To load completions in your current shell session:

```sh
source <(okibi completion zsh)
```

To load completions for every new session, execute once:

Linux:

```sh
okibi completion zsh > "${fpath[1]}/_okibi"
```

macOS:

```sh
okibi completion zsh > $(brew --prefix)/share/zsh/site-functions/_okibi
```

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

```sh
okibi completion zsh [flags]
```

Flags:

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