cool-easter-32542
05/09/2025, 6:27 PMpants complete --shell=zsh (doc link) fail to produce completions for zsh because the first line – #compdef _pants_completions pants is commented out. If you type pants and hit tab, it won't auto-suggestion or complete any goals.
• If you uncomment the first line and source the produced script for zsh, the completions are not very intuitive. If I type pants test into the shell and hit tab, it will only continue to suggest more pants goals, but I want to add a system path in order to select target(s)
Pants version
2.26.0
OS
MacOS 15.4.1
Additional info
Discussion here: https://pantsbuild.slack.com/archives/C046T6T9U/p1746807710037739
Uncommenting the first line fixed the issue
pantsbuild/pants