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

# nsc completion bash

Generate the autocompletion script for the bash shell.

`completion bash` generates a bash autocompletion script for `nsc`. The script depends on the
`bash-completion` package; if it isn't installed already, install it via your OS's package
manager.

To load completions in your current shell session, source the generated script directly:

```bash theme={null}
source <(nsc completion bash)
```

To load completions for every new session, generate the script once and write it into your
`bash-completion` directory. On Linux:

```bash theme={null}
nsc completion bash > /etc/bash_completion.d/nsc
```

On macOS:

```bash theme={null}
nsc completion bash > $(brew --prefix)/etc/bash_completion.d/nsc
```

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

## Usage

```bash theme={null}
nsc completion bash [--no-descriptions]
```

### Example

```bash theme={null}
source <(nsc completion bash)
```

## Options

<h3 id="--no-descriptions">
  \--no-descriptions
</h3>

Disable completion descriptions. By default, the generated script includes a short description
alongside each completion candidate; pass this flag to omit them and print candidates only.
