summaryrefslogtreecommitdiff
path: root/shell-completion/zsh/_loginctl
diff options
context:
space:
mode:
authorDaniel Mack <zonque@gmail.com>2014-03-25 20:28:31 +0100
committerDaniel Mack <zonque@gmail.com>2014-03-25 23:05:03 +0100
commit4433c995c77b66f42fe4a238aff6b53706628a2e (patch)
tree47eee2b994e2ecfbc1b82deec29d053ba579bf2e /shell-completion/zsh/_loginctl
parent10b17992ee59ac1d03d6fc210a976bc2b59f6d75 (diff)
completions: fix/augment zsh completions for systemd-nspawn, busctl, loginctl, hostnamectl, localectl, machinectl
Diffstat (limited to 'shell-completion/zsh/_loginctl')
-rw-r--r--shell-completion/zsh/_loginctl7
1 files changed, 6 insertions, 1 deletions
diff --git a/shell-completion/zsh/_loginctl b/shell-completion/zsh/_loginctl
index 740629d53d..0de66e191f 100644
--- a/shell-completion/zsh/_loginctl
+++ b/shell-completion/zsh/_loginctl
@@ -56,6 +56,8 @@ done
"activate:Activate a session"
"lock-session:Screen lock one or more sessions"
"unlock-session:Screen unlock one or more sessions"
+ "lock-sessions:Screen lock all current sessions"
+ "unlock-sessions:Screen unlock all current sessions"
"terminate-session:Terminate one or more sessions"
"kill-session:Send signal to processes of a session"
"list-users:List users"
@@ -99,8 +101,11 @@ _arguments -s \
{-a,--all}'[Show all properties, including empty ones]' \
'--kill-who=[Who to send signal to]:killwho:(main control all)' \
{-s+,--signal=}'[Which signal to send]:signal:_signals' \
- '--no-ask-password[Do not ask for system passwords]' \
{-H+,--host=}'[Operate on remote host]:userathost:_sd_hosts_or_user_at_host' \
+ {-M+,--machine=}'[Operate on local container]:machine' \
{-P,--privileged}'[Acquire privileges before execution]' \
+ {-l,--full}'[Do not ellipsize output]' \
'--no-pager[Do not pipe output into a pager]' \
+ '--no-legend[Do not show the headers and footers]' \
+ '--no-ask-password[Do not ask for system passwords]' \
'*::loginctl command:_loginctl_command'