about summary refs log tree commit diff
path: root/Completion/Unix/Command/_loadkeys
blob: 9244392fc50704aae45289d6b3789175f5962674 (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' \
	'(--verbose)-v[verbose]' \
	'(-v)--verbose' \
	':keymap:_files -W /usr/share/keymaps'
  ;;
  solaris*)
	_files -W /usr/share/lib/keytables
  ;;

  *) _default;;
esac