Docs/CLI/Shell completion

Shell completion

Use shell completion when you want Tab to complete commands, flags, supported values, and profile names as you type.

Install completion

trackfox completion install

This detects your shell from the current environment and updates it automatically.

Choose a shell explicitly

trackfox completion install --shell zsh

Pass --shell bash, --shell zsh, or --shell fish if detection fails.

Reload your shell

Start a new shell, or source the updated file, to pick up completion:

source ~/.zshrc

Generate the script manually

trackfox completion script bash

Source or save this output yourself if you prefer manual setup over completion install.

Remove completion

trackfox completion uninstall

Good to know

Completion reads commands, flags, and profile names from local configuration only — it never contacts the API. Bash and Zsh installs add a removable managed block to your standard rc file; Fish writes its own completions file. If completion cannot invoke trackfox, confirm the global executable is on PATH.

Need help? Contact us for assistance.

Suggest features? We'd love your feedback