]> git.ipfire.org Git - thirdparty/systemd.git/commit
zsh-completion: systemctl: list template units only as needed 8863/head
authorEmil Velikov <emil.velikov@collabora.com>
Mon, 11 Jun 2018 10:53:08 +0000 (11:53 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 11 Jun 2018 18:02:36 +0000 (19:02 +0100)
commit4ed141166c8b3a633ca7b5e15828071dce63eab0
treef3cc20f22f45cc83186a2ebacd3fb443ceb28736
parent9b536b1af2730de61c21dbe0522fd40547b0468b
zsh-completion: systemctl: list template units only as needed

Currently the completion adds template units for commands such as
is-active, is-failed, is-enabled, status, show and others.

At the same time systemctl barfs at us, since an instanced template unit
is needed. Follow the example list from bash-completion as to which
commands should not list template units.

Note: The above is observed regardless of DefaultInstance.

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
shell-completion/zsh/_systemctl.in