Skip to content

reach completion

Generate or install shell tab-completion scripts for bash, zsh, and fish.


Synopsis

reach completion [SHELL] [OPTIONS]

Key Scenarios

Print shell completion script to stdout:

reach completion zsh
reach completion bash
reach completion fish

Install completion script directly into your user shell configuration:

reach completion --install
reach completion zsh --install

Source the completion script directly into your active shell session:

# Zsh
source <(reach completion zsh)

# Bash
source <(reach completion bash)

Options

Option Type Default Description
SHELL TEXT Current $SHELL Shell dialect: bash, zsh, or fish.
--install, -i flag false Install completion script directly to user shell startup configuration.