foudfou/zsh-completion — pull request #3 by bok (2011-10-24 12:51:18+00:00)
Title: Fix "UNIT not valid" error.

Completion for `systemctl start/stop` would fail in some cases on my Arch Linux laptop, with error:

Failed to issue method call: Unit name UNIT is not valid.

The Arch Linux `systemd` packager has included a patch that fixes this error in the repos, but only for bash-completion. I just implement the same solution in the zsh completion script. See the original patch (with explanations) here:

https://projects.archlinux.org/svntogit/community.git/tree/systemd/trunk/systemctl-completion.patch

I have no idea if this fix breaks things on other distros.