summaryrefslogtreecommitdiff
path: root/shell-completion/zsh/_localectl
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-09-13 20:39:58 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-09-13 20:39:58 -0400
commitb3ec0a0674f4e499bcb6d2469acdf9d2d574c3d6 (patch)
tree374687545d464bb1e57991cf73b654a7fa0b83ba /shell-completion/zsh/_localectl
parentf6e7ffdf3fe8e3ed5e659f747946461350ade5a8 (diff)
parentae8150ecbd54765622aadf288100440d71a10ccd (diff)
Merge tag 'systemd/v231-1.parabola1' into systemd/parabola
Diffstat (limited to 'shell-completion/zsh/_localectl')
-rw-r--r--shell-completion/zsh/_localectl4
1 files changed, 2 insertions, 2 deletions
diff --git a/shell-completion/zsh/_localectl b/shell-completion/zsh/_localectl
index d8af4d1863..54c2d456e4 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}' )"} )