]> git.ipfire.org Git - thirdparty/systemd.git/commit
zsh-completion: optimize _filter_units_by_property 84/head
authorDaniel Hahler <git@thequod.de>
Wed, 27 May 2015 19:26:26 +0000 (21:26 +0200)
committerDaniel Hahler <git@thequod.de>
Sat, 6 Jun 2015 10:54:41 +0000 (12:54 +0200)
commita0ab162a097c7d8ea4dbd4d868de5236610e8f14
tree5a1f5675d2bbd6d90586e33b6a3ca152945f2357
parent7437e0f53a8ec85d7f0596a352503d178d890c68
zsh-completion: optimize _filter_units_by_property

Optimize _filter_units_by_property by calling `systemctl` only once with
a list of units, and not once per unit.

I could not reproduce the "Unknown unit" error mentioned in a FIXME,
which might have made this necessary previously.
shell-completion/zsh/_systemctl.in