mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-10-26 17:25:34 +03:00
shell-completion: use base.lst, not xorg.lst
Since 2005 xorg.lst has been the legacy symlink to the real file base.lst.
This commit is contained in:
parent
ba81458350
commit
7a4afd3a15
@ -39,7 +39,7 @@ _localectl_set-x11-keymap() {
|
||||
local -a _file _layout _model _variant _options
|
||||
local _xorg_lst
|
||||
_xorg_lst=${"$($commands[pkg-config] xkeyboard-config --variable=xkb_base)"}
|
||||
_file=( ${(ps:\n\!:)"$(<$_xorg_lst/rules/xorg.lst)"} )
|
||||
_file=( ${(ps:\n\!:)"$(<$_xorg_lst/rules/base.lst)"} )
|
||||
_layout=( ${${${(M)${(f)_file[2]}:# *}# }%% *} )
|
||||
_model=( ${${${(M)${(f)_file[1]}:# *}# }%% *} )
|
||||
_variant=( ${${${(M)${(f)_file[3]}:# *}# }%% *} )
|
||||
|
Loading…
Reference in New Issue
Block a user