[systemd-devel] [PATCH] zsh-completion: fix completion of --user services

Lennart Poettering lennart at poettering.net
Wed Jun 17 09:34:22 PDT 2015

On Mon, 18.05.15 18:45, Eric Cook (llua at gmx.com) wrote:

> By the time __systemctl is called, --user/--system are shifted out of
> `words' by _arguments. This patch queries the array sooner. 
> In the case that both --user and --system are on the line when compsys runs,
> _sys_service_mgr is set to the latter. Which is seemingly how systemctl behaves.
> If neither are on the line, --system is set; for system services to be completed.

Is this still an issue? If so, could you post this patch as a PR on
github for review?


Lennart Poettering, Red Hat

More information about the systemd-devel mailing list