]> git.ipfire.org Git - thirdparty/systemd.git/commit
zsh: _filter_units_by_property: respect --user
authorDaniel Hahler <git@thequod.de>
Thu, 11 Aug 2016 16:46:31 +0000 (18:46 +0200)
committerDaniel Hahler <git@thequod.de>
Thu, 11 Aug 2016 16:46:31 +0000 (18:46 +0200)
commit56ef545c24a4b83f6ad9f542a1159b2130a30f3e
tree66d08a988b624cf984a59acda1ec77a4409fa448
parent29df65f913ec7d360637ef1703ec284bb1fa6821
zsh: _filter_units_by_property: respect --user

Use `$_sys_service_mgr` to handle `--user`, so that `systemctl --user
stop` will correctly filter the active (user) units.  Before this patch,
only user units that also exist as system units and are stoppable there
would be listed.
shell-completion/zsh/_systemctl.in