aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelipe Sateler <fsateler@users.noreply.github.com>2017-06-06 21:32:15 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-06-06 21:32:15 -0400
commitd739ce98f33fce467e1d5b447140eb53262244d3 (patch)
treee29f29b1d9ef93890e9c63ce306dba383b9c225f /shell-completion
parentnetworkd: fix route table from unsigned char to uint32_t (#6083) (diff)
downloadsystemd-d739ce98f33fce467e1d5b447140eb53262244d3.tar.gz
systemd-d739ce98f33fce467e1d5b447140eb53262244d3.tar.bz2
systemd-d739ce98f33fce467e1d5b447140eb53262244d3.zip
zsh: add completion for add-wants and add-requires (#6082)
Diffstat (limited to 'shell-completion')
-rw-r--r--shell-completion/zsh/_systemctl.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/shell-completion/zsh/_systemctl.in b/shell-completion/zsh/_systemctl.in
index 7d3d47bef..aad700b73 100644
--- a/shell-completion/zsh/_systemctl.in
+++ b/shell-completion/zsh/_systemctl.in
@@ -29,6 +29,8 @@
"list-unit-files:List installed unit files"
"enable:Enable one or more unit files"
"disable:Disable one or more unit files"
+ "add-wants:Add Wants= dependencies to a unit"
+ "add-requires:Add Requires= dependencies to a unit"
"reenable:Reenable one or more unit files"
"preset:Enable/disable one or more unit files based on preset configuration"
"set-default:Set the default target"
@@ -158,7 +160,7 @@ _systemctl_unit_state() { typeset -gA _sys_unit_state; _sys_unit_state=( $(__sys
local fun
# Completion functions for ALL_UNITS
-for fun in is-active is-failed is-enabled status show cat mask preset help list-dependencies edit revert ; do
+for fun in is-active is-failed is-enabled status show cat mask preset help list-dependencies edit revert add-wants add-requires ; do
(( $+functions[_systemctl_$fun] )) || _systemctl_$fun()
{
_systemctl_really_all_units