From f33378f79208d33d886473aa1929fb5fa9071ce1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0abata?= Date: Wed, 16 Aug 2017 23:37:06 +0200 Subject: [PATCH] Include the latest systemctl commands MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Based on systemd-233. I'm still keeping the old, now unsupported commands for backwards compatibility as well. Signed-off-by: Petr Ĺ abata --- plugins/systemd/systemd.plugin.zsh | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/plugins/systemd/systemd.plugin.zsh b/plugins/systemd/systemd.plugin.zsh index d6a7c0b73..bcea98337 100644 --- a/plugins/systemd/systemd.plugin.zsh +++ b/plugins/systemd/systemd.plugin.zsh @@ -1,9 +1,14 @@ user_commands=( cat + get-default help is-active is-enabled + is-failed + is-system-running + list-dependencies list-jobs + list-sockets list-timers list-unit-files list-units @@ -12,23 +17,46 @@ user_commands=( status) sudo_commands=( + add-requires + add-wants cancel + daemon-reexec + daemon-reload + default disable edit + emergency enable + halt + hibernate + hybrid-sleep + import-environment isolate + kexec kill link + list-machines load mask + poweroff preset + preset-all + reboot reenable reload + reload-or-restart reset-failed + rescue restart + revert + set-default set-environment + set-property start stop + suspend + switch-root + try-reload-or-restart try-restart unmask unset-environment)