summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--shell-completion/bash/systemctl2
-rw-r--r--shell-completion/zsh/_systemctl1
2 files changed, 2 insertions, 1 deletions
diff --git a/shell-completion/bash/systemctl b/shell-completion/bash/systemctl
index 5346eef65b..e335ee871c 100644
--- a/shell-completion/bash/systemctl
+++ b/shell-completion/bash/systemctl
@@ -139,7 +139,7 @@ _systemctl () {
[ENVS]='set-environment unset-environment'
[STANDALONE]='daemon-reexec daemon-reload default dump
emergency exit halt hibernate hybrid-sleep kexec list-jobs
- list-units list-unit-files poweroff reboot rescue
+ list-sockets list-units list-unit-files poweroff reboot rescue
show-environment suspend get-default'
[NAME]='snapshot load'
[FILE]='link'
diff --git a/shell-completion/zsh/_systemctl b/shell-completion/zsh/_systemctl
index 3d5f2ffeeb..298e97ed61 100644
--- a/shell-completion/zsh/_systemctl
+++ b/shell-completion/zsh/_systemctl
@@ -4,6 +4,7 @@
{
local -a _systemctl_cmds
_systemctl_cmds=(
+ "list-sockets:List sockets"
"list-units:List units"
"start:Start (activate) one or more units"
"stop:Stop (deactivate) one or more units"