summaryrefslogtreecommitdiff
path: root/completions/munindoc
blob: 1c8bb4827a1c0829ebe3d4660ff3ee39de5c0e0a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# munindoc completion

_munindoc()
{
    local cur prev words cword
    _init_completion || return

    COMPREPLY=( $( compgen -W '$( command ls /usr/share/munin/plugins )' \
        -- "$cur" ) )
} &&
complete -F _munindoc munindoc

# 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