0
  9   ˆl–ßi~” ”ÂXÔÝÆƒq—TÅ£Ã944a–Ðz¾””ÔD¨ 	Å +‚fà›S�ÿÆ °    _rfkill_module()
{
	local cur prev OPTS
	COMPREPLY=()
	cur="${COMP_WORDS[COMP_CWORD]}"
	prev="${COMP_WORDS[COMP_CWORD-1]}"
	case $prev in
		'list'|'block'|'unblock')
			local targets
			targets="$(rfkill --output=id,type --noheadings list)"
			COMPREPLY=( $(compgen -W "all $targets" -- $cur) )
			return 0;
			;;
		'-o'|'--output')
			local prefix realcur OUTPUT
			realcur="${cur##*,}"
			prefix="${cur%$realcur}"
			for WORD in "DEVICE TYPE ID SOFT HARD"; do
				if ! [[ $prefix == *"$WORD"* ]]; then
					OUTPUT="$WORD ${OUTPUT:-""}"
				fi
			done
			compopt -o nospace
			COMPREPLY=( $(compgen -P "$prefix" -W "$OUTPUT" -S ',' -- $realcur) )
			return 0
			;;
		'-h'|'--help'|'-V'|'--version')
			return 0
			;;
	esac
	OPTS="
		event
		list
		block
		unblock
		--json
		--noheadings
		--output
		--output-all
		--raw
		--help
		--version
	"
	COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
	return 0

}
complete -F _rfkill_module rfkill
     ˆÂÄ„ ÿ¾Æ '    # bash completion for puppet                               -*- shell-script -*-

_puppet_logdest()
{
    if [[ -z $cur ]]; then
        COMPREPLY=($(compgen -W 'syslog console /' -- "$cur"))
    else
        COMPREPLY=($(compgen -W 'syslog console' -- "$cur"))
        _filedir
    fi
}

_puppet_digest()
{
    COMPREPLY=($(compgen -W 'MD5 MD2 SHA1 SHA256' -- "$cur"))
}

_puppet_certs()
{
    local puppetca="puppet cert"
    PATH=$PATH:/sbin:/usr/sbin:/usr/local/sbin type puppetca &>/dev/null &&
        puppetca=puppetca

    if [[ $1 == --all ]]; then
        cert_list=$($puppetca --list --all | command sed -e 's/^[+-]\{0,1\}\s*\(\S\+\)\s\+.*$/\1/')
    else
        cert_list=$($puppetca --list)
    fi
    COMPREPLY+=($(compgen -W "$cert_list" -- "$cur"))
}

_puppet_types()
{
    puppet_types=$(puppet describe --list | command sed -e 's/^\(\S\{1,\}\).*$/\1/')
    COMPREPLY+=($(compgen -W "$puppet_types" -- "$cur"))
}

_puppet_references()
{
    local puppetdoc="puppet doc"
    PATH=$PATH:/sbin:/usr/sbin:/usr/local/sbin type puppetdoc &>/dev/null &&
        puppetdoc=puppetdoc

    puppet_doc_list=$($puppetdoc --list | command sed -e 's/^\(\S\{1,\}\).*$/\1/')
    COMPREPLY+=($(compgen -W "$puppet_doc_list" -- "$cur"))
}

_puppet_subcmd_opts()
{
    # puppet cmd help is somewhat slow, avoid if possible
    [[ -z $cur || $cur == -* ]] &&
        COMPREPLY+=($(compgen -W \
            '$(_parse_usage "$1" "help $2")' -- "$cur"))
}

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

    local subcommand action

    case $prev in
        -h | --help | -V | --version)
            return
            ;;
    esac

    case ${words[0]} in
        puppetmasterd)
            subcommand=master
            ;;
        puppetd)
            subcommand=agent
            ;;
        puppetca)
            subcommand=cert
            ;;
        ralsh)
            subcommand=resource
            ;;
        puppetrun)
            subcommand=kick
            ;;
        puppetqd)
            subcommand=queue
            ;;
        filebucket)
            subcommand=filebucket
            ;;
        puppetdoc)
            subcommand=doc
            ;;
        pi)
            subcommand=describe
            ;;
        puppet)
            case ${words[1]} in
                agent | apply | cert | describe | doc | filebucket | kick | master | parser | queue | resource)
                    subcommand=${words[1]}
                    ;;
                *.pp | *.rb)
                    subcommand=apply
                    ;;
                *)
                    COMPREPLY=($(compgen -W 'agent apply cert describe doc
                        filebucket kick master parser queue resource' \
                        -- "$cur"))
                    return
                    ;;
            esac
            ;;
    esac

    case $subcommand in
        agent)
            case $prev in
                --certname)
                    _known_hosts_real -- "$cur"
                    return
                    ;;
 