zsh-completion: Add support for set-property (#10322)
This commit is contained in:
parent
27b99f2912
commit
c4a2deba7e
|
@ -63,6 +63,7 @@
|
||||||
"exit:Ask for user instance termination"
|
"exit:Ask for user instance termination"
|
||||||
"switch-root:Change root directory"
|
"switch-root:Change root directory"
|
||||||
"revert:Revert unit files to their vendor versions"
|
"revert:Revert unit files to their vendor versions"
|
||||||
|
"set-property:Sets one or more properties of a unit"
|
||||||
)
|
)
|
||||||
|
|
||||||
if (( CURRENT == 1 )); then
|
if (( CURRENT == 1 )); then
|
||||||
|
@ -176,7 +177,7 @@ for fun in cat mask ; do
|
||||||
done
|
done
|
||||||
|
|
||||||
# Completion functions for NONTEMPLATE_UNITS
|
# 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()
|
(( $+functions[_systemctl_$fun] )) || _systemctl_$fun()
|
||||||
{
|
{
|
||||||
_wanted systemd-units expl unit \
|
_wanted systemd-units expl unit \
|
||||||
|
|
Loading…
Reference in New Issue