1
0
mirror of https://github.com/systemd/systemd.git synced 2024-10-28 03:25:31 +03:00
systemd/shell-completion
Eric Cook 68c4f6d406 zsh-completion: fix completion of --user services
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.
2015-05-19 01:01:40 +02:00
..
bash Use "new" --job-mode= option in more places 2015-05-18 01:08:09 -04:00
zsh zsh-completion: fix completion of --user services 2015-05-19 01:01:40 +02:00
Makefile build-sys: add missing makefile symlinks 2014-02-26 02:19:28 +01:00