1
2
3
4
5
6
7
8
9
10
11
12
|
have debconf-show &&
_debconf_show()
{
local cur
COMPREPLY=()
cur=${COMP_WORDS[COMP_CWORD]}
COMPREPLY=($( compgen -W '--listowners --listdbs --db=' -- $cur ) \
$( apt-cache pkgnames -- $cur ) )
}
complete -F _debconf_show debconf-show
|