summaryrefslogtreecommitdiff
path: root/completions/munindoc
blob: c5a03c1c3f51b88450397054dd8f30aa31ec656b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# munindoc completion                                      -*- shell-script -*-

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

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

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