summaryrefslogtreecommitdiff
path: root/shell-completion/zsh
diff options
context:
space:
mode:
authorXuanwo <xuanwo.cn@gmail.com>2018-11-20 12:17:11 +0800
committerYu Watanabe <watanabe.yu+github@gmail.com>2018-11-20 13:17:11 +0900
commitc4a2deba7e3af569cdff15f3e24884b6d0d88082 (patch)
treed1fcdac8f4fecc1c01e9ddebf0b0308c9203e2b5 /shell-completion/zsh
parent27b99f29123e34d9ab378e831a98b14ea407a34f (diff)
downloadsystemd-c4a2deba7e3af569cdff15f3e24884b6d0d88082.tar.gz
zsh-completion: Add support for set-property (#10322)
Diffstat (limited to 'shell-completion/zsh')
-rw-r--r--shell-completion/zsh/_systemctl.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/shell-completion/zsh/_systemctl.in b/shell-completion/zsh/_systemctl.in
index 9f576ed77d..782d243131 100644
--- a/shell-completion/zsh/_systemctl.in
+++ b/shell-completion/zsh/_systemctl.in
@@ -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 \