summary refs log tree commit diff
path: root/Completion/Unix/Command/_loadkeys
blob: 51e78d0c5826bc90b59a2d72b637a0e374f47e04 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#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