Skip to main content
ubx completion generates shell completion scripts for bash, zsh, fish, and PowerShell.

Usage

ubx completion <shell>

Shells

# Load in current session
source <(ubx completion bash)

# Install permanently (Linux)
ubx completion bash > /etc/bash_completion.d/ubx

# Install permanently (macOS + Homebrew)
ubx completion bash > $(brew --prefix)/etc/bash_completion.d/ubx

What Gets Completed

  • All ubx subcommands and flags
  • Resource type names in unit, data, import blocks
  • Provider names in ubx auth and ubx schema commands
  • File paths for .iac files