Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

[patch] add systemctl suspend support to systemd completion



Attached is a patch that add suspend completion support to systemd's 
systemctl command.

--
Greg
diff --git a/usr/share/zsh/functions/Completion/Unix/_systemd b/_systemd
index 585ed9c..c9fc38a 100644
--- a/usr/share/zsh/functions/Completion/Unix/_systemd
+++ b/_systemd
@@ -121,6 +121,7 @@ _hosts_or_user_at_host()
     "rescue:Enter system rescue mode"
     "emergency:Enter system emergency mode"
     "halt:Shut down and halt the system"
+    "suspend:Suspend the system"
     "poweroff:Shut down and power-off the system"
     "reboot:Shut down and reboot the system"
     "kexec:Shut down and reboot the system with kexec"


Messages sorted by: Reverse Date, Date, Thread, Author