summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Shahaf <d.s@daniel.shahaf.name>2019-12-23 17:49:51 +0100
committerDaniel Shahaf <d.s@daniel.shahaf.name>2019-12-23 17:49:51 +0100
commit1d8385b4159961c6b888700aa98c6897ac21e47b (patch)
treee6e10d4b64421b9fbeea515f38fab18e0f6a9eec
parentzsh: Group systemctl subcommands as in the manual. No functional change. (diff)
downloadsystemd-1d8385b4159961c6b888700aa98c6897ac21e47b.tar.xz
systemd-1d8385b4159961c6b888700aa98c6897ac21e47b.zip
zsh: Complete more systemctl commands
The completion is now synced with the manual.
-rw-r--r--shell-completion/zsh/_systemctl.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/shell-completion/zsh/_systemctl.in b/shell-completion/zsh/_systemctl.in
index b6adce85e6..d7969823cd 100644
--- a/shell-completion/zsh/_systemctl.in
+++ b/shell-completion/zsh/_systemctl.in
@@ -29,6 +29,10 @@
"help:Show documentation for specified units"
"reset-failed:Reset failed state for all, one, or more units"
"list-dependencies:Show unit dependency tree"
+ "clean:Remove configuration, state, cache, logs or runtime data of units"
+
+ # Machine Commands
+ "list-machines:List the host and all running local containers"
# Unit File Commands
"list-unit-files:List installed unit files"
@@ -56,10 +60,14 @@
"show-environment:Dump environment"
"set-environment:Set one or more environment variables"
"unset-environment:Unset one or more environment variables"
+ "import-environment:Import environment variables set on the client"
# Manager State Commands
"daemon-reload:Reload systemd manager configuration"
"daemon-reexec:Reexecute systemd manager"
+ "log-level:Get or set the log level"
+ "log-target:Get or set the log target"
+ "service-watchdogs:Get or set the state of software watchdogs"
# System Commands
"is-system-running:Query overall status of the system"