2001-05-02 17:02:31 +02:00
|
|
|
#compdef loadkeys
|
|
|
|
|
2001-05-03 15:05:48 +02:00
|
|
|
case $OSTYPE in
|
|
|
|
linux*)
|
|
|
|
_arguments \
|
2001-08-06 16:42:02 +02:00
|
|
|
'(--clearcompose -c)'{--clearcompose,-c}'[clear kernel compose table]' \
|
|
|
|
'(--default -d)'{--default,-d}'[load default keymap file]' \
|
|
|
|
'(--help -h)'{--help,-h}'[display help information]' \
|
|
|
|
'(--mktable -m)'{--mktable,-m}'[output a "defkeymap.c" to stdout]' \
|
|
|
|
'(--clearstrings)'{--clearstrings,-s}'[clear kernel string table]' \
|
|
|
|
'*'{--verbose,-v}'[print more details]' \
|
|
|
|
':keymap:_files -W /usr/share/keymaps'
|
2001-05-03 15:05:48 +02:00
|
|
|
;;
|
|
|
|
solaris*)
|
2001-08-06 16:42:02 +02:00
|
|
|
_files -W /usr/share/lib/keytables
|
2001-05-03 15:05:48 +02:00
|
|
|
;;
|
2001-05-02 18:04:41 +02:00
|
|
|
|
2001-05-03 15:05:48 +02:00
|
|
|
*) _default;;
|
|
|
|
esac
|