Skip to main content

completion

This document provides an overview of the commands and options available under buck2 completion.

buck2 completion

Print completion configuration for shell

For a one-time setup, run the one of the following commands appropriate for the shell you're using:

  • source <(buck2 completion bash)
  • source <(buck2 completion zsh)
  • source (buck2 completion fish | psub)

Usage: buck2 completion <SHELL>

Arguments:

  • <SHELL> shell for which to generate completion script

    • Possible values:
      • bash
      • fish
      • zsh