infraudit CLI can generate tab-completion scripts for bash, zsh, fish, and PowerShell. Once enabled, pressing Tab completes command names, subcommands, and flags automatically.
Setup
- bash
- zsh
- fish
- PowerShell
Load completion for the current session only:To enable completion permanently, write the script to your bash completions directory:
On some systems the completions directory may be
/usr/local/etc/bash_completion.d/ instead. Run pkg-config --variable=completionsdir bash-completion to find the correct path.