]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
zsh-completion: Add support for set-property (#10322)
authorXuanwo <xuanwo.cn@gmail.com>
Tue, 20 Nov 2018 04:17:11 +0000 (12:17 +0800)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 20 Nov 2018 04:17:11 +0000 (13:17 +0900)
shell-completion/zsh/_systemctl.in

index 9f576ed77d862b3823a096e59f44763e60d2f46f..782d243131ab155ff0df48ba5b1a49b9ba61d469 100644 (file)
@@ -63,6 +63,7 @@
     "exit:Ask for user instance termination"
     "switch-root:Change root directory"
     "revert:Revert unit files to their vendor versions"
+    "set-property:Sets one or more properties of a unit"
   )
 
   if (( CURRENT == 1 )); then
@@ -176,7 +177,7 @@ for fun in cat mask ; do
 done
 
 # Completion functions for NONTEMPLATE_UNITS
-for fun in is-active is-failed is-enabled status show preset help list-dependencies edit revert add-wants add-requires ; do
+for fun in is-active is-failed is-enabled status show preset help list-dependencies edit revert add-wants add-requires set-property; do
   (( $+functions[_systemctl_$fun] )) || _systemctl_$fun()
   {
     _wanted systemd-units expl unit \