mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-26 19:03:38 +08:00
4 lines
211 B
Fish
4 lines
211 B
Fish
|
function __fish_complete_setxkbmap --description 'Complete setxkb options' --argument-names what
|
||
|
sed -e "1,/! $what/d" -e '/^\s*$/,$d' /usr/share/X11/xkb/rules/xorg.lst | sed -r 's/\s+(\S+)\s+(.+)/\1\t\2/'
|
||
|
end
|