]> git.ipfire.org Git - thirdparty/systemd.git/commit
zsh: fix disable/enable completion
authorHaochen Tong <i@hexchain.org>
Sun, 26 Apr 2020 22:30:49 +0000 (00:30 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 27 Apr 2020 06:12:27 +0000 (08:12 +0200)
commitf5b3be308d1c72c34b1204702a21233b6585b533
treeb8e93cf2fd2fc98bad88cd195ff4c7ae23d6020e
parent3c14dc61f7782d8eca0ff7b55e9f60fef176fe82
zsh: fix disable/enable completion

The "preset" column introduced in
b01c1f305c044a381ad110709a62507d74bf6d86 breaks zsh completion for
systemctl disable/enable. Fix by ignoring everything after the last
space in a line.
shell-completion/zsh/_systemctl.in