"Fossies" - the Fresh Open Source Software Archive

Member "bash-completion-2.9/completions/munindoc" (27 Apr 2019, 318 Bytes) of package /linux/privat/bash-completion-2.9.tar.xz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "munindoc": 2.8_vs_2.9.

    1 # munindoc completion                                      -*- shell-script -*-
    2 
    3 _munindoc()
    4 {
    5     local cur prev words cword
    6     _init_completion || return
    7 
    8     COMPREPLY=( $(compgen -W \
    9         '$(command ls /usr/share/munin/plugins 2>/dev/null)' -- "$cur") )
   10 } &&
   11 complete -F _munindoc munindoc
   12 
   13 # ex: filetype=sh