hatch
hatch copied to clipboard
For Tab completion on bash, use bash-completion
When bash is installed by the package manager of a distro, most often bash-completion is also installed ...
Instead of "somewhere" ..
https://github.com/pypa/hatch/blob/4ebce0e1fe8bf0fcdef587a704c207a063d72575/docs/cli/about.md?plain=1#L22-L32
isn't it better we use ..
_HATCH_COMPLETE=bash_source hatch > ~/.local/share/bash-completion/completions/hatch