21 lines
394 B
Plaintext
Raw Normal View History

# Linux rmmod(8) completion. This completes on a list of all currently
# installed kernel modules.
_rmmod()
{
local cur prev words cword
_init_completion || return
_installed_modules "$cur"
return 0
} &&
complete -F _rmmod rmmod
# Local variables:
# mode: shell-script
# sh-basic-offset: 4
# sh-indent-comment: t
# indent-tabs-mode: nil
# End:
# ex: ts=4 sw=4 et filetype=sh