summaryrefslogtreecommitdiff
path: root/completions/rmmod
blob: 3b2660672a9154766b6ad86901fa847b3080fed1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Linux rmmod(8) completion.                               -*- shell-script -*-
# 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

# ex: ts=4 sw=4 et filetype=sh