Skip to main content
Generate shell completion scripts for nsc. Use nsc completion to generate completion scripts for Bash, fish, PowerShell, or Zsh. Source the generated script in the current shell or install it for future sessions.

Usage

nsc completion bash

Generate a Bash completion script. The script requires the bash-completion package.

Usage

Enable completion in the current session

Install Bash completion

On Linux:
On macOS:
Start a new shell after installing the script.

Options

—no-descriptions

Omit descriptions from completion suggestions.

nsc completion fish

Generate a fish completion script.

Usage

Enable completion in the current session

Install fish completion

Start a new shell after installing the script.

Options

—no-descriptions

Omit descriptions from completion suggestions.

nsc completion powershell

Generate a PowerShell completion script.

Usage

Enable completion in the current session

Add this command to your PowerShell profile to enable completion in future sessions.

Options

—no-descriptions

Omit descriptions from completion suggestions.

nsc completion zsh

Generate a Zsh completion script. If shell completion is not enabled, initialize Zsh’s completion system before loading the script.

Usage

Enable completion in the current session

Install Zsh completion

On Linux:
On macOS:
Start a new shell after installing the script.

Options

—no-descriptions

Omit descriptions from completion suggestions.
Last modified on August 31, 2026