summaryrefslogtreecommitdiff
path: root/shell-completion/zsh/_localectl
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/_localectl
parent10b17992ee59ac1d03d6fc210a976bc2b59f6d75 (diff)
completions: fix/augment zsh completions for systemd-nspawn, busctl, loginctl, hostnamectl, localectl, machinectl
Diffstat (limited to 'shell-completion/zsh/_localectl')
-rw-r--r--shell-completion/zsh/_localectl5
1 files changed, 5 insertions, 0 deletions
diff --git a/shell-completion/zsh/_localectl b/shell-completion/zsh/_localectl
index c04f4f3109..87432da1dc 100644
--- a/shell-completion/zsh/_localectl
+++ b/shell-completion/zsh/_localectl
@@ -64,6 +64,10 @@ _localectl_command() {
'set-keymap:Set virtual console keyboard mapping'
'list-keymaps:Show known virtual console keyboard mappings'
'set-x11-keymap:Set X11 keyboard mapping'
+ 'list-x11-keymap-models:Show known X11 keyboard mapping models'
+ 'list-x11-keymap-layouts:Show known X11 keyboard mapping layouts'
+ 'list-x11-keymap-variants:Show known X11 keyboard mapping variants'
+ 'list-x11-keymap-options:Show known X11 keyboard mapping options'
)
if (( CURRENT == 1 )); then
_describe -t commands 'localectl command' _localectl_cmds
@@ -85,4 +89,5 @@ _arguments \
'--no-pager[Do not pipe output into a pager]' \
'--no-ask-password[Do not prompt for password]' \
{-H+,--host=}'[Operate on remote host]:userathost:_sd_hosts_or_user_at_host' \
+ {-M+,--machine=}'[Operate on local container]:machine' \
'*::localectl commands:_localectl_command'