# munindoc completion -*- shell-script -*- proc _munindoc { var cur = '', prev = '', words = '', cword = '' _init_completion || return setglobal 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