Bench PR 705 (Now merged in master branch) provides a shell script to enable command line auto-completion for bench commands on zsh and bash (Uses click bashcomplete).
All you have to do is pull from master branch and run source <path/to/completion.sh>
- Supports both
bench
andfrappe
commands - Supports parameter completion as well (at least a single “-” must be provided)
- Supports
--site
completion (Lists sites only)