2011-11-01 22:14:45 +02:00
|
|
|
# Linux rmmod(8) completion. -*- shell-script -*-
|
|
|
|
# This completes on a list of all currently installed kernel modules.
|
2011-10-12 23:01:10 +03:00
|
|
|
|
|
|
|
_rmmod()
|
|
|
|
{
|
|
|
|
local cur prev words cword
|
|
|
|
_init_completion || return
|
|
|
|
|
|
|
|
_installed_modules "$cur"
|
|
|
|
return 0
|
|
|
|
} &&
|
|
|
|
complete -F _rmmod rmmod
|
|
|
|
|
|
|
|
# ex: ts=4 sw=4 et filetype=sh
|