mirror of
git://git.code.sf.net/p/zsh/code
synced 2024-10-04 09:51:27 +02:00
27 lines
486 B
Plaintext
27 lines
486 B
Plaintext
#compdef loadkeys
|
|
|
|
if [[ $OSTYPE == linux* ]]
|
|
then
|
|
|
|
_arguments \
|
|
'(--clearcompose)-c[clearcompose]' \
|
|
'(-c)--clearcompose' \
|
|
'(--default)-d[default]' \
|
|
'(-d)--default' \
|
|
'(--help)-h[help]' \
|
|
'(-h)--help' \
|
|
'(--mktable)-m[mktable]' \
|
|
'(-m)--mktable' \
|
|
'(--clearstrings)-s[clearstrings]' \
|
|
'(-s)--clearstrings' \
|
|
'(--verbose)-v[verbose]' \
|
|
'(-v)--verbose' \
|
|
':keymap:_files -W /usr/share/keymaps'
|
|
|
|
elif [[ $OSTYPE == solaris* ]]
|
|
then
|
|
|
|
_files -W /usr/share/lib/keytables
|
|
|
|
fi
|