summary refs log tree commit diff
path: root/Completion/Unix
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2011-12-21 22:24:45 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2011-12-21 22:24:45 +0000
commit1ea6009209a7aae69188d70fa3cb7d260346f059 (patch)
treef57e0baeeda9632ba5cf5080d0ff3db32deb8070 /Completion/Unix
parent81cb361d73fc3d9700d07b8b2053ae3ae226b2be (diff)
downloadzsh-1ea6009209a7aae69188d70fa3cb7d260346f059.tar.gz
zsh-1ea6009209a7aae69188d70fa3cb7d260346f059.tar.xz
zsh-1ea6009209a7aae69188d70fa3cb7d260346f059.zip
T.C. Hollingsworth: 30036: new systemctl argument completion
Diffstat (limited to 'Completion/Unix')
-rw-r--r--Completion/Unix/Command/_systemctl6
1 files changed, 6 insertions, 0 deletions
diff --git a/Completion/Unix/Command/_systemctl b/Completion/Unix/Command/_systemctl
index 69adcf775..3f54092a1 100644
--- a/Completion/Unix/Command/_systemctl
+++ b/Completion/Unix/Command/_systemctl
@@ -43,6 +43,7 @@ _systemctl()
     '--global[Enable/disable unit files globally]' \
     {-f,--force}'[When enabling unit files, override existing symlinks. When shutting down, execute action immediately]' \
     '--defaults[When disabling unit files, remove default symlinks only]' \
+    '--root=[Enable unit files in the specified root directory]:directory:_directories' \
     '*::systemctl command:_systemctl_command'
 }
 
@@ -73,8 +74,13 @@ _hosts_or_user_at_host()
     "status:Show runtime status of one or more units"
     "show:Show properties of one or more units/jobs or the manager"
     "reset-failed:Reset failed state for all, one, or more units"
+    "list-unit-files:List installed unit files"
     "enable:Enable one or more unit files"
     "disable:Disable one or more unit files"
+    "preset:Enable/disable one or more unit files based on preset configuration"
+    "mask:Mask one or more units"
+    "unmask:Unmask one or more units"
+    "link:Link one or more units into the search path"
     "is-enabled:Check whether unit files are enabled"
     "load:Load one or more units"
     "list-jobs:List jobs"