zsh: default to system manager when not specified
authorRonan Pigott <ronan@rjp.ie>
Mon, 17 Jul 2023 21:47:23 +0000 (14:47 -0700)
committerRonan Pigott <ronan@rjp.ie>
Mon, 17 Jul 2023 23:35:29 +0000 (16:35 -0700)
commit087f777a1cd946b91ae4013f0a3b0b6e3c333d97
tree603f13c63ec7a4e557e6a5d122f23d61b10da513
parentd0fc94a19258030fad433eb4091479bba5ef043e
zsh: default to system manager when not specified

This used to work correctly, before the change was reverted in
e09d0d46c297. In fact it is important to specify the manager explicity
in the completion because the argument is reused in the caching
policies. An empty argument here caused the completion to create
separate caches with and without the --system parameter. We can simplify
the given pattern a little here too.
shell-completion/zsh/_systemctl.in