diff options
author | ntzrmtthihu777 <ntzrmtthihu777@gmail.com> | 2016-07-15 03:59:45 -0500 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2016-07-15 04:59:45 -0400 |
commit | b010a6a1ae8f3b6903a51513eaecc8de163cf9b5 (patch) | |
tree | a15b5f89cd5be97a1f73ab100c7a0e91e6c266b4 /shell-completion | |
parent | macros: provide %_systemdgeneratordir and %_systemdusergeneratordir (#3672) (diff) | |
download | systemd-b010a6a1ae8f3b6903a51513eaecc8de163cf9b5.tar.gz systemd-b010a6a1ae8f3b6903a51513eaecc8de163cf9b5.tar.bz2 systemd-b010a6a1ae8f3b6903a51513eaecc8de163cf9b5.zip |
zsh-completion: fix option ordering in set-x11-keymap (#3646)
Diffstat (limited to 'shell-completion')
-rw-r--r-- | shell-completion/zsh/_localectl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shell-completion/zsh/_localectl b/shell-completion/zsh/_localectl index d8af4d186..54c2d456e 100644 --- a/shell-completion/zsh/_localectl +++ b/shell-completion/zsh/_localectl @@ -36,8 +36,8 @@ _localectl_set-x11-keymap() { local _xorg_lst _xorg_lst=${"$($commands[pkg-config] xkeyboard-config --variable=xkb_base)"} _file=( ${(ps:\n\!:)"$(<$_xorg_lst/rules/xorg.lst)"} ) - _layout=( ${${${(M)${(f)_file[1]}:# *}# }%% *} ) - _model=( ${${${(M)${(f)_file[2]}:# *}# }%% *} ) + _layout=( ${${${(M)${(f)_file[2]}:# *}# }%% *} ) + _model=( ${${${(M)${(f)_file[1]}:# *}# }%% *} ) _variant=( ${${${(M)${(f)_file[3]}:# *}# }%% *} ) _options=( ${${${(M)${(f)_file[4]}:# *}# }%% *} ) #_layout=( ${(f)"$( echo $_file[1] | awk '/^ / {print $1}' )"} ) |