about summary refs log tree commit diff
path: root/Completion/Unix/Command/_loadkeys
blob: da3a19df7290ff076f0d7002d3dd54fdb9d46ae0 (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
#compdef loadkeys

case $OSTYPE in
  linux*)
    _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' \
	'*-v[verbose]' \
	'*--verbose' \
	':keymap:_files -W /usr/share/keymaps'
  ;;
  solaris*)
	_files -W /usr/share/lib/keytables
  ;;

  *) _default;;
esac