# xhost(1) completion -*- shell-script -*- proc _xhost { local cur prev words cword _init_completion || return case (cur) { +* { _known_hosts_real -p+ ${cur:1} } -* { _known_hosts_real -p- ${cur:1} } * { _known_hosts_real $cur } } } && complete -F _xhost xhost # ex: ts=4 sw=4 et filetype=sh