quaint-telephone-89068
03/23/2026, 1:41 AMpants 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-suggest 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/pantsquaint-telephone-89068
03/23/2026, 1:41 AM