Skip to content

Shell Completions

context can print completion scripts for Bash, Fish, and Zsh:

Terminal window
context completions
context completions bash
context completions fish
context completions zsh

With no shell argument, context completions prints Zsh completions. The Arch packages install Bash, Fish, and Zsh completions automatically. For a local binary, write the generated script into the shell-specific completion directory for your environment.