Due to an influx of spam, we have had to temporarily disable account registrations. Please write an email to accountsupport@archlinux.org, with your desired username, if you want to get access. Sorry for the inconvenience.
As suggested in the comments of this issue. Completion of pip in zsh works after removal of the first two lines. I also checked that completion in fish was already working before.
Closes #2 (closed) (https://gitlab.archlinux.org/archlinux/packaging/packages/python-pip/-/issues/2
, former https://bugs.archlinux.org/task/65349)