diff options
Diffstat (limited to 'Completion/Linux/Command/_kbd')
| -rw-r--r-- | Completion/Linux/Command/_kbd | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Completion/Linux/Command/_kbd b/Completion/Linux/Command/_kbd new file mode 100644 index 000000000..d0a87b6f6 --- /dev/null +++ b/Completion/Linux/Command/_kbd @@ -0,0 +1,19 @@ +#compdef loadkeys + +case $OSTYPE in + linux*) + _arguments \ + '(--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' + ;; + solaris*) + _files -W /usr/share/lib/keytables + ;; + + *) _default;; +esac |
