hatch icon indicating copy to clipboard operation
hatch copied to clipboard

For Tab completion on bash, use bash-completion

Open return42 opened this issue 5 months ago • 0 comments

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

return42 avatar Jul 26 '25 08:07 return42