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

Eric Cook llua at gmx.com
Wed Jun 17 18:06:28 PDT 2015


On 06/17/2015 12:34 PM, Lennart Poettering wrote:
> 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
> 
It was submitted on github and merged a while ago. So no, but thank you for checking up on it.
https://github.com/systemd/systemd/commit/68c4f6d406a2bdac6957a67a077f182b0287cc3b


More information about the systemd-devel mailing list