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

_comp_cmd_munindoc()
{
    local cur prev words cword comp_args
    _comp_initialize -- "$@" || return

    _comp_compgen_split -- "$(command ls /usr/share/munin/plugins 2>/dev/null)"
} &&
    complete -F _comp_cmd_munindoc munindoc

# ex: filetype=sh