Skip to main content

aether completion

Generate shell completion scripts for tab completion of commands, subcommands, and flags.

Usage

aether completion [bash|zsh|fish|powershell]

Shells

ShellDescription
bashBash completion script
zshZsh completion script
fishFish completion script
powershellPowerShell completion script

Setup

Load completions in the current session:
source <(aether completion bash)
Persist across sessions by adding to ~/.bashrc:
echo 'source <(aether completion bash)' >> ~/.bashrc
On macOS with Homebrew bash-completion:
aether completion bash > "$(brew --prefix)/etc/bash_completion.d/aether"

Examples

# Generate and inspect the bash completion script
aether completion bash

# Pipe directly to a file
aether completion zsh > /usr/local/share/zsh/site-functions/_aether

# Verify completions are working (type and press Tab)
aether pr<TAB>
# completes to: aether project