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

2015-06-17 Thread Eric Cook
On 06/17/2015 12:34 PM, Lennart Poettering wrote: > On Mon, 18.05.15 18:45, Eric Cook (l...@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

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

2015-06-17 Thread Lennart Poettering
On Mon, 18.05.15 18:45, Eric Cook (l...@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

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

2015-05-18 Thread systemd github import bot
Patchset imported to github. Pull request: -- Generated by https://github.com/haraldh/mail2git ___ systemd-devel mailing list

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

2015-05-18 Thread Eric Cook
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 neith